aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdino/src/service/muc_manager.vala4
-rw-r--r--plugins/openpgp/src/encryption_list_entry.vala2
2 files changed, 3 insertions, 3 deletions
diff --git a/libdino/src/service/muc_manager.vala b/libdino/src/service/muc_manager.vala
index e9ad1b81..b69d71f2 100644
--- a/libdino/src/service/muc_manager.vala
+++ b/libdino/src/service/muc_manager.vala
@@ -378,9 +378,9 @@ public class MucManager : StreamInteractionModule, Object {
m.marked = Message.Marked.RECEIVED;
}
}
+ // For own messages from other devices (msg is not a duplicate msg)
+ message.marked = Message.Marked.RECEIVED;
}
- // For own messages from other devices (msg is not a duplicate msg)
- message.marked = Message.Marked.RECEIVED;
return false;
}
diff --git a/plugins/openpgp/src/encryption_list_entry.vala b/plugins/openpgp/src/encryption_list_entry.vala
index 7ccd9f73..603c5c94 100644
--- a/plugins/openpgp/src/encryption_list_entry.vala
+++ b/plugins/openpgp/src/encryption_list_entry.vala
@@ -32,7 +32,7 @@ private class EncryptionListEntry : Plugins.EncryptionListEntry, Object {
Gee.List<Jid>? occupants = stream_interactor.get_module(MucManager.IDENTITY).get_occupants(conversation.counterpart, conversation.account);
if (occupants != null) muc_jids.add_all(occupants);
Gee.List<Jid>? offline_members = stream_interactor.get_module(MucManager.IDENTITY).get_offline_members(conversation.counterpart, conversation.account);
- if (occupants != null) muc_jids.add_all(offline_members);
+ if (offline_members != null) muc_jids.add_all(offline_members);
foreach (Jid jid in muc_jids) {
string? key_id = stream_interactor.get_module(Manager.IDENTITY).get_key_id(conversation.account, jid);