mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Didn't handle message if chatroom not found on server
This commit is contained in:
parent
94e457427e
commit
69f1982653
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue