Commit e26ce48b authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

Call chatroom state changed with CreationError state when group chat room fails

parent 58d5c632
......@@ -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
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