mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 07:33:52 +02:00
Fix discarding group call invites.
This commit is contained in:
parent
59e56600bc
commit
a569495f5d
1 changed files with 5 additions and 6 deletions
|
@ -1026,12 +1026,11 @@ void Instance::declineOutgoingConferenceInvite(
|
|||
}
|
||||
}
|
||||
}
|
||||
if (!j->second.incoming.empty()) {
|
||||
return;
|
||||
}
|
||||
i->second.users.erase(j);
|
||||
if (i->second.users.empty()) {
|
||||
_conferenceInvites.erase(i);
|
||||
if (j->second.incoming.empty()) {
|
||||
i->second.users.erase(j);
|
||||
if (i->second.users.empty()) {
|
||||
_conferenceInvites.erase(i);
|
||||
}
|
||||
}
|
||||
user->owner().unregisterInvitedToCallUser(conferenceId, user, !discard);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue