mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-06 21:33:08 +00:00
Fixed crash in chat room state changed callback if trying to find chat room
This commit is contained in:
parent
017f4790b0
commit
1c9f356e4f
1 changed files with 1 additions and 1 deletions
|
|
@ -79,8 +79,8 @@ public:
|
|||
shared_ptr<AbstractChatRoom> bcr = cgcr->getCore()->onlyGetOrCreateBasicChatRoom(invitedAddresses.front());
|
||||
L_SET_CPP_PTR_FROM_C_OBJECT(lcr, bcr);
|
||||
bcr->getPrivate()->setState(ChatRoom::State::Instantiated);
|
||||
bcr->getPrivate()->setState(ChatRoom::State::Created);
|
||||
cgcr->getCore()->getPrivate()->insertChatRoom(bcr);
|
||||
bcr->getPrivate()->setState(ChatRoom::State::Created);
|
||||
cgcr->getCore()->getPrivate()->insertChatRoomWithDb(bcr);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue