mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 15:43:55 +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()) {
|
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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue