Total count should not be less than the number of loaded participants

This commit is contained in:
Ali 2020-12-12 18:11:40 +04:00
parent ea20efe2e4
commit 9388db9be6

View File

@ -955,6 +955,8 @@ public final class GroupCallParticipantsContext {
}
}
updatedTotalCount = max(updatedTotalCount, updatedParticipants.count)
var updatedOverlayState = strongSelf.stateValue.overlayState
for peerId in update.removePendingMuteStates {
updatedOverlayState.pendingMuteStateChanges.removeValue(forKey: peerId)