From 881b9eec9dcd8fd8c81b0b9d7bfd2ae714d7722e Mon Sep 17 00:00:00 2001 From: fiaxh Date: Thu, 19 Nov 2020 18:33:03 +0100 Subject: Improve entity identity getter --- plugins/omemo/src/ui/bad_messages_populator.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/omemo/src/ui') 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() -- cgit v1.2.3-70-g09d2