mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-24 06:38:08 +00:00
fix crash when receiving invte from an unknown chatroom
This commit is contained in:
parent
7ec3f703f5
commit
633f1bf8ea
1 changed files with 4 additions and 1 deletions
|
|
@ -113,8 +113,11 @@ static void call_received(SalCallOp *h) {
|
|||
L_GET_PRIVATE(static_pointer_cast<ServerGroupChatRoom>(chatRoom))->confirmJoining(h);
|
||||
linphone_address_unref(toAddr);
|
||||
linphone_address_unref(fromAddr);
|
||||
return;
|
||||
} else {
|
||||
//invite is for an unknown chatroom
|
||||
h->decline(SalReasonNotFound, nullptr);
|
||||
}
|
||||
return;
|
||||
} else {
|
||||
// TODO: handle media conference joining if the "text" feature tag is not present
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue