From 37e81a86dc3f1f10827195c6b3ec275074f0552e Mon Sep 17 00:00:00 2001 From: fiaxh Date: Sat, 13 Jan 2024 17:26:41 +0100 Subject: Conversation details dialog: Fix runtime critical --- main/src/ui/conversation_details.vala | 1 + 1 file changed, 1 insertion(+) (limited to 'main/src/ui') diff --git a/main/src/ui/conversation_details.vala b/main/src/ui/conversation_details.vala index 82d6ae54..1c82f105 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(); }); } -- cgit v1.2.3-70-g09d2