From 81b68449c78a0839efc6410c69b0cb72cc25f668 Mon Sep 17 00:00:00 2001 From: Ali <> Date: Sun, 1 Jan 2023 20:01:46 +0400 Subject: [PATCH] Remove debugging --- submodules/TelegramVoip/Sources/OngoingCallContext.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/submodules/TelegramVoip/Sources/OngoingCallContext.swift b/submodules/TelegramVoip/Sources/OngoingCallContext.swift index 15ff1892e0..67f3f2dfdf 100644 --- a/submodules/TelegramVoip/Sources/OngoingCallContext.swift +++ b/submodules/TelegramVoip/Sources/OngoingCallContext.swift @@ -79,11 +79,11 @@ private func callConnectionDescriptionsWebrtc(_ connection: CallSessionConnectio guard let id = idMapping[reflector.id] else { return [] } - #if DEBUG + /*#if DEBUG if id != 1 { return [] } - #endif + #endif*/ var result: [OngoingCallConnectionDescriptionWebrtc] = [] if !reflector.ip.isEmpty { result.append(OngoingCallConnectionDescriptionWebrtc(reflectorId: id, hasStun: false, hasTurn: true, hasTcp: reflector.isTcp, ip: reflector.ip, port: reflector.port, username: "reflector", password: hexString(reflector.peerTag))) @@ -93,11 +93,11 @@ private func callConnectionDescriptionsWebrtc(_ connection: CallSessionConnectio } return result case let .webRtcReflector(reflector): - #if DEBUG + /*#if DEBUG if "".isEmpty { return [] } - #endif + #endif*/ var result: [OngoingCallConnectionDescriptionWebrtc] = [] if !reflector.ip.isEmpty { result.append(OngoingCallConnectionDescriptionWebrtc(reflectorId: 0, hasStun: reflector.hasStun, hasTurn: reflector.hasTurn, hasTcp: false, ip: reflector.ip, port: reflector.port, username: reflector.username, password: reflector.password))