Respect 'just_joined' participant flag.
This commit is contained in:
parent
7ab919e249
commit
ad2d2c203f
|
@ -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…
Reference in New Issue