mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Fix discarding group call invites.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user