mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Allow inviting members to the group call.
This commit is contained in:
@@ -208,13 +208,14 @@ void GroupCall::applyParticipantsSlice(
|
||||
.canSelfUnmute = !data.is_muted() || data.is_can_self_unmute(),
|
||||
};
|
||||
if (i == end(_participants)) {
|
||||
_userBySource.emplace(value.source, value.user);
|
||||
_userBySource.emplace(value.source, user);
|
||||
_participants.push_back(value);
|
||||
_channel->owner().unregisterInvitedToCallUser(_id, user);
|
||||
++fullCount;
|
||||
} else {
|
||||
if (i->source != value.source) {
|
||||
_userBySource.erase(i->source);
|
||||
_userBySource.emplace(value.source, value.user);
|
||||
_userBySource.emplace(value.source, user);
|
||||
}
|
||||
*i = value;
|
||||
}
|
||||
|
Reference in New Issue
Block a user