From 81c7549af3fc24ba84880aa5111efedaa88509b9 Mon Sep 17 00:00:00 2001 From: Ali <> Date: Tue, 4 Aug 2020 23:35:41 +0400 Subject: [PATCH] Temporary fix --- submodules/TelegramCore/Sources/CallSessionManager.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/submodules/TelegramCore/Sources/CallSessionManager.swift b/submodules/TelegramCore/Sources/CallSessionManager.swift index ea45561e62..00143ba9a7 100644 --- a/submodules/TelegramCore/Sources/CallSessionManager.swift +++ b/submodules/TelegramCore/Sources/CallSessionManager.swift @@ -491,9 +491,9 @@ private final class CallSessionManagerContext { if randomStatus == 0 { var isVideoPossible = self.videoVersions().contains(where: { versions.contains($0) }) - #if DEBUG + //#if DEBUG isVideoPossible = true - #endif + //#endif let internalId = CallSessionInternalId() let context = CallSessionContext(peerId: peerId, isOutgoing: false, type: isVideo ? .video : .audio, isVideoPossible: isVideoPossible, state: .ringing(id: stableId, accessHash: accessHash, gAHash: gAHash, b: b, versions: versions))