aboutsummaryrefslogtreecommitdiff
path: root/plugins/omemo
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2020-11-19 18:33:03 +0100
committerfiaxh <git@lightrise.org>2020-11-20 15:21:18 +0100
commit881b9eec9dcd8fd8c81b0b9d7bfd2ae714d7722e (patch)
treeea60b1bcf460a0d60fd8cb5d768d24a7bd56bb0e /plugins/omemo
parentf40730c780adea243ce89d66da1e9bb0efa83cfd (diff)
downloaddino-881b9eec9dcd8fd8c81b0b9d7bfd2ae714d7722e.tar.gz
dino-881b9eec9dcd8fd8c81b0b9d7bfd2ae714d7722e.zip
Improve entity identity getter
Diffstat (limited to 'plugins/omemo')
-rw-r--r--plugins/omemo/src/ui/bad_messages_populator.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/omemo/src/ui/bad_messages_populator.vala b/plugins/omemo/src/ui/bad_messages_populator.vala
index c63ebaeb..2f878aaa 100644
--- a/plugins/omemo/src/ui/bad_messages_populator.vala
+++ b/plugins/omemo/src/ui/bad_messages_populator.vala
@@ -37,7 +37,7 @@ public class BadMessagesPopulator : Plugins.ConversationItemPopulator, Plugins.C
}
private void init_state() {
-
+ if (current_conversation == null) return;
if (current_conversation.type_ == Conversation.Type.GROUPCHAT_PM) return;
var qry = db.identity_meta.select()