Commit 633f1bf8 authored by jehan's avatar jehan Committed by Ghislain MARY

fix crash when receiving invte from an unknown chatroom

parent 7ec3f703
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment