aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2024-01-13 17:26:41 +0100
committerfiaxh <git@lightrise.org>2024-03-21 13:34:20 +0100
commit37e81a86dc3f1f10827195c6b3ec275074f0552e (patch)
tree423c7b9b69b384d35346373837a355afac6bb39b
parentbf9f401743eb5bd9b2de2bcac56576a6454b290c (diff)
downloaddino-37e81a86dc3f1f10827195c6b3ec275074f0552e.tar.gz
dino-37e81a86dc3f1f10827195c6b3ec275074f0552e.zip
Conversation details dialog: Fix runtime critical
-rw-r--r--main/src/ui/conversation_details.vala1
1 files changed, 1 insertions, 0 deletions
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();
});
}