From 41c333263b82070c731f8f5b5183bafde4ab3f5d Mon Sep 17 00:00:00 2001 From: fiaxh Date: Fri, 3 Aug 2018 19:45:07 +0200 Subject: pgp: Fix checking wrong variable for null --- plugins/openpgp/src/encryption_list_entry.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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? occupants = stream_interactor.get_module(MucManager.IDENTITY).get_occupants(conversation.counterpart, conversation.account); if (occupants != null) muc_jids.add_all(occupants); Gee.List? 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); -- cgit v1.2.3-70-g09d2