From 7d8b08deca0aa4eb24def6b9af4ec180c0bc9a27 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Sun, 9 Oct 2022 11:39:17 +0200 Subject: Small fixes --- main/src/ui/conversation_view_controller.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/src/ui') diff --git a/main/src/ui/conversation_view_controller.vala b/main/src/ui/conversation_view_controller.vala index 50c0dcdb..5844ef0a 100644 --- a/main/src/ui/conversation_view_controller.vala +++ b/main/src/ui/conversation_view_controller.vala @@ -82,7 +82,7 @@ public class ConversationViewController : Object { } }); stream_interactor.get_module(RosterManager.IDENTITY).updated_roster_item.connect((account, jid, roster_item) => { - if (conversation.account.equals(account) && conversation.counterpart.equals(jid)) { + if (conversation != null && conversation.account.equals(account) && conversation.counterpart.equals(jid)) { update_conversation_display_name(); } }); -- cgit v1.2.3-70-g09d2