This commit is contained in:
Ali
2020-11-27 03:49:15 +04:00
parent 9661b1fae6
commit 0d6b37ee29
8 changed files with 19 additions and 78 deletions

View File

@@ -501,7 +501,7 @@ public final class VoiceChatController: ViewController {
let wasMuted = strongSelf.callState?.muteState != nil
strongSelf.callState = state
if state.muteState != nil {
if let muteState = state.muteState, !muteState.canUnmute {
if strongSelf.pushingToTalk {
strongSelf.pushingToTalk = false
strongSelf.actionButton.pressing = false