From f6190ffc0e0265d54343e680cd59d7b0c664b454 Mon Sep 17 00:00:00 2001 From: Ali <> Date: Fri, 7 Aug 2020 22:15:13 +0400 Subject: [PATCH] Don't adjust speaker to speaker --- submodules/TelegramCallsUI/Sources/CallControllerNode.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/TelegramCallsUI/Sources/CallControllerNode.swift b/submodules/TelegramCallsUI/Sources/CallControllerNode.swift index 990e2154b6..d2c3d91966 100644 --- a/submodules/TelegramCallsUI/Sources/CallControllerNode.swift +++ b/submodules/TelegramCallsUI/Sources/CallControllerNode.swift @@ -556,7 +556,7 @@ final class CallControllerNode: ViewControllerTracingNode, CallControllerNodePro if self.outgoingVideoNodeValue != nil || self.incomingVideoNodeValue != nil || self.candidateOutgoingVideoNodeValue != nil || self.candidateIncomingVideoNodeValue != nil { if let audioOutputState = self.audioOutputState, let currentOutput = audioOutputState.currentOutput { switch currentOutput { - case .headphones: + case .headphones, .speaker: break case let .port(port) where port.type == .bluetooth: break