mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-19 03:58:08 +00:00
Call chatroom state changed with CreationError state when group chat room fails
This commit is contained in:
parent
58d5c632aa
commit
e26ce48bfd
1 changed files with 4 additions and 1 deletions
|
|
@ -451,8 +451,11 @@ void ClientGroupChatRoom::onCallSessionStateChanged (
|
|||
dConference->eventHandler->subscribe(getConferenceAddress());
|
||||
} else if (d->state == ChatRoom::State::TerminationPending)
|
||||
dConference->focus->getPrivate()->getSession()->terminate();
|
||||
} else if (state == LinphoneCallReleased && d->state == ChatRoom::State::TerminationPending)
|
||||
} else if (state == LinphoneCallReleased && d->state == ChatRoom::State::TerminationPending) {
|
||||
onConferenceTerminated(getConferenceAddress());
|
||||
} else if (state == LinphoneCallError && d->state == ChatRoom::State::CreationPending) {
|
||||
d->setState(ChatRoom::State::CreationFailed);
|
||||
}
|
||||
}
|
||||
|
||||
LINPHONE_END_NAMESPACE
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue