mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Respect 'just_joined' participant flag.
This commit is contained in:
parent
7ab919e249
commit
ad2d2c203f
1 changed files with 3 additions and 1 deletions
|
@ -288,7 +288,6 @@ void GroupCall::applyParticipantsSlice(
|
|||
_userBySsrc.emplace(value.ssrc, user);
|
||||
_participants.push_back(value);
|
||||
_peer->owner().unregisterInvitedToCallUser(_id, user);
|
||||
++changedCount;
|
||||
} else {
|
||||
if (i->ssrc != value.ssrc) {
|
||||
_userBySsrc.erase(i->ssrc);
|
||||
|
@ -296,6 +295,9 @@ void GroupCall::applyParticipantsSlice(
|
|||
}
|
||||
*i = value;
|
||||
}
|
||||
if (data.is_just_joined()) {
|
||||
++changedCount;
|
||||
}
|
||||
if (sliceSource != ApplySliceSource::SliceLoaded) {
|
||||
_participantUpdates.fire({
|
||||
.was = was,
|
||||
|
|
Loading…
Add table
Reference in a new issue