diff options
author | fiaxh <git@mx.ax.lt> | 2018-08-03 19:45:07 +0200 |
---|---|---|
committer | fiaxh <git@mx.ax.lt> | 2018-08-06 00:52:11 +0200 |
commit | 41c333263b82070c731f8f5b5183bafde4ab3f5d (patch) | |
tree | 8efe871ebfb326c47cdd41eb9b3f35e0a7b13fd7 /plugins/openpgp/src | |
parent | a19f988301332680e23fd81031935eb1312d3173 (diff) | |
download | dino-41c333263b82070c731f8f5b5183bafde4ab3f5d.tar.gz dino-41c333263b82070c731f8f5b5183bafde4ab3f5d.zip |
pgp: Fix checking wrong variable for null
Diffstat (limited to 'plugins/openpgp/src')
-rw-r--r-- | plugins/openpgp/src/encryption_list_entry.vala | 2 |
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); |