aboutsummaryrefslogtreecommitdiff
path: root/plugins/openpgp
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2018-08-03 19:45:07 +0200
committerfiaxh <git@mx.ax.lt>2018-08-06 00:52:11 +0200
commit41c333263b82070c731f8f5b5183bafde4ab3f5d (patch)
tree8efe871ebfb326c47cdd41eb9b3f35e0a7b13fd7 /plugins/openpgp
parenta19f988301332680e23fd81031935eb1312d3173 (diff)
downloaddino-41c333263b82070c731f8f5b5183bafde4ab3f5d.tar.gz
dino-41c333263b82070c731f8f5b5183bafde4ab3f5d.zip
pgp: Fix checking wrong variable for null
Diffstat (limited to 'plugins/openpgp')
-rw-r--r--plugins/openpgp/src/encryption_list_entry.vala2
1 files changed, 1 insertions, 1 deletions
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);