mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Voice chat fixes
This commit is contained in:
@@ -1422,7 +1422,7 @@ public final class PresentationGroupCallImpl: PresentationGroupCall {
|
||||
}
|
||||
|
||||
for participant in participants {
|
||||
members.participants.append(participant)
|
||||
var participant = participant
|
||||
|
||||
if topParticipants.count < 3 {
|
||||
topParticipants.append(participant)
|
||||
@@ -1470,6 +1470,7 @@ public final class PresentationGroupCallImpl: PresentationGroupCall {
|
||||
var filteredMuteState = participant.muteState
|
||||
if isReconnectingAsSpeaker || strongSelf.currentConnectionMode != .rtc {
|
||||
filteredMuteState = GroupCallParticipantsContext.Participant.MuteState(canUnmute: false, mutedByYou: false)
|
||||
participant.muteState = filteredMuteState
|
||||
}
|
||||
|
||||
if let muteState = filteredMuteState {
|
||||
@@ -1507,6 +1508,8 @@ public final class PresentationGroupCallImpl: PresentationGroupCall {
|
||||
updatedInvitedPeers.remove(at: index)
|
||||
didUpdateInvitedPeers = true
|
||||
}
|
||||
|
||||
members.participants.append(participant)
|
||||
}
|
||||
|
||||
members.totalCount = state.totalCount
|
||||
|
||||
Reference in New Issue
Block a user