mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Fix discarding group call invites.
This commit is contained in:
@@ -1026,12 +1026,11 @@ void Instance::declineOutgoingConferenceInvite(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!j->second.incoming.empty()) {
|
if (j->second.incoming.empty()) {
|
||||||
return;
|
i->second.users.erase(j);
|
||||||
}
|
if (i->second.users.empty()) {
|
||||||
i->second.users.erase(j);
|
_conferenceInvites.erase(i);
|
||||||
if (i->second.users.empty()) {
|
}
|
||||||
_conferenceInvites.erase(i);
|
|
||||||
}
|
}
|
||||||
user->owner().unregisterInvitedToCallUser(conferenceId, user, !discard);
|
user->owner().unregisterInvitedToCallUser(conferenceId, user, !discard);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user