From 69f19826534042264784b1956652c7170b250fb6 Mon Sep 17 00:00:00 2001 From: Erwan Croze Date: Tue, 23 Jan 2018 13:41:22 +0100 Subject: [PATCH] Didn't handle message if chatroom not found on server --- coreapi/chat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreapi/chat.c b/coreapi/chat.c index 32d3e16a5..d35f13a1a 100644 --- a/coreapi/chat.c +++ b/coreapi/chat.c @@ -137,7 +137,7 @@ int linphone_core_message_received(LinphoneCore *lc, LinphonePrivate::SalOp *op, ); if (chatRoom) reason = L_GET_PRIVATE(chatRoom)->onSipMessageReceived(op, sal_msg); - else { + else if (!linphone_core_conference_server_enabled(lc)) { LinphoneAddress *addr = linphone_address_new(sal_msg->from); linphone_address_clean(addr); LinphoneChatRoom *cr = linphone_core_get_chat_room(lc, addr);