aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2020-05-28 20:13:23 +0200
committerfiaxh <git@lightrise.org>2020-06-03 21:50:40 +0200
commit40c66bc58487c39e44c400e137404c6a2bc08155 (patch)
tree03ca2e61ba4ae38ab10fdae2f866d8bcb3329de2
parent8fe723bccb1dbcc38ec2742195cc77702f7f3f52 (diff)
downloaddino-40c66bc58487c39e44c400e137404c6a2bc08155.tar.gz
dino-40c66bc58487c39e44c400e137404c6a2bc08155.zip
Fix runtime critical
-rw-r--r--libdino/src/service/muc_manager.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdino/src/service/muc_manager.vala b/libdino/src/service/muc_manager.vala
index d96681ac..3b6d9b5f 100644
--- a/libdino/src/service/muc_manager.vala
+++ b/libdino/src/service/muc_manager.vala
@@ -64,7 +64,7 @@ public class MucManager : StreamInteractionModule, Object {
Conversation joined_conversation = stream_interactor.get_module(ConversationManager.IDENTITY).create_conversation(jid, account, Conversation.Type.GROUPCHAT);
joined_conversation.nickname = nick;
- stream_interactor.get_module(ConversationManager.IDENTITY).start_conversation(conversation);
+ stream_interactor.get_module(ConversationManager.IDENTITY).start_conversation(joined_conversation);
} else if (res.muc_error != null) {
// Join failed
enter_errors[jid] = res.muc_error;