diff --git a/submodules/TelegramCore/Sources/GroupCalls.swift b/submodules/TelegramCore/Sources/GroupCalls.swift index 15ca920269..a86a4f81af 100644 --- a/submodules/TelegramCore/Sources/GroupCalls.swift +++ b/submodules/TelegramCore/Sources/GroupCalls.swift @@ -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) diff --git a/third-party/webrtc/webrtc-ios b/third-party/webrtc/webrtc-ios index f15d2311eb..982b3456d0 160000 --- a/third-party/webrtc/webrtc-ios +++ b/third-party/webrtc/webrtc-ios @@ -1 +1 @@ -Subproject commit f15d2311eb3998e38000eff15a634b74b4358655 +Subproject commit 982b3456d0b18369f36e2b1e1438f40235a12eae