mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-21 13:48:08 +00:00
Fix crash on security level on startupp, when the core is not ready (do not call chat room state changes while initialization)
This commit is contained in:
parent
0aeaf84ef0
commit
897af6ed15
1 changed files with 2 additions and 1 deletions
|
|
@ -129,7 +129,8 @@ void CoreHandlers::onChatRoomStateChanged(
|
|||
const std::shared_ptr<linphone::ChatRoom> & chatRoom,
|
||||
linphone::ChatRoom::State state
|
||||
) {
|
||||
emit chatRoomStateChanged(chatRoom, state);
|
||||
if (core->getGlobalState() == linphone::GlobalState::On)
|
||||
emit chatRoomStateChanged(chatRoom, state);
|
||||
}
|
||||
|
||||
void CoreHandlers::onConfiguringStatus(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue