mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-18 11:38:08 +00:00
Allow joining a ClientGroupChatRoom while it is being left.
This commit is contained in:
parent
3d53c71b85
commit
c613beed2e
1 changed files with 4 additions and 1 deletions
|
|
@ -393,7 +393,10 @@ void ClientGroupChatRoom::join () {
|
|||
if (!session && ((getState() == ChatRoom::State::Instantiated) || (getState() == ChatRoom::State::Terminated))) {
|
||||
d->bgTask.start();
|
||||
session = d->createSession();
|
||||
session->startInvite(nullptr, "", nullptr);
|
||||
}
|
||||
if (session) {
|
||||
if (getState() != ChatRoom::State::TerminationPending)
|
||||
session->startInvite(nullptr, "", nullptr);
|
||||
d->setState(ChatRoom::State::CreationPending);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue