From 32ed1ce245e377bbc7af9b87f3cbc7b4fe154025 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Sat, 13 Jan 2024 17:26:41 +0100 Subject: [PATCH] Conversation details dialog: Fix runtime critical --- main/src/ui/conversation_details.vala | 1 + 1 file changed, 1 insertion(+) diff --git a/main/src/ui/conversation_details.vala b/main/src/ui/conversation_details.vala index a7942d4f..a6d3cf86 100644 --- a/main/src/ui/conversation_details.vala +++ b/main/src/ui/conversation_details.vala @@ -14,6 +14,7 @@ namespace Dino.Ui.ConversationDetails { if (conversation.type_ == Conversation.Type.GROUPCHAT) { stream_interactor.get_module(MucManager.IDENTITY).get_config_form.begin(conversation.account, conversation.counterpart, (_, res) => { model.data_form = stream_interactor.get_module(MucManager.IDENTITY).get_config_form.end(res); + if (model.data_form == null) return; model.data_form_bak = model.data_form.stanza_node.to_string(); }); }