From a7d54f9c8a35413db1b61a1c794d081fa956cc92 Mon Sep 17 00:00:00 2001 From: overtake <> Date: Tue, 17 Dec 2019 19:57:45 +0400 Subject: [PATCH] - remove test code [skip ci] --- submodules/TelegramCore/Sources/ChannelCreation.swift | 4 ---- 1 file changed, 4 deletions(-) diff --git a/submodules/TelegramCore/Sources/ChannelCreation.swift b/submodules/TelegramCore/Sources/ChannelCreation.swift index 64462876dc..4fbe458d0d 100644 --- a/submodules/TelegramCore/Sources/ChannelCreation.swift +++ b/submodules/TelegramCore/Sources/ChannelCreation.swift @@ -13,10 +13,6 @@ public enum CreateChannelError { } private func createChannel(account: Account, title: String, description: String?, isSupergroup:Bool, location: (latitude: Double, longitude: Double, address: String)? = nil) -> Signal { - #if DEBUG - return .fail(.tooMuchJoined) - #endif - return account.postbox.transaction { transaction -> Signal in var flags: Int32 = 0 if isSupergroup {