Conversation details dialog: Fix runtime critical

This commit is contained in:
fiaxh 2024-01-13 17:26:41 +01:00 committed by Maxim Logaev
parent b18f49cda3
commit 32ed1ce245

View file

@ -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();
});
}