- remove test code [skip ci]

This commit is contained in:
overtake 2019-12-17 19:57:45 +04:00
parent 02759d2a3f
commit a7d54f9c8a

View File

@ -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<PeerId, CreateChannelError> { private func createChannel(account: Account, title: String, description: String?, isSupergroup:Bool, location: (latitude: Double, longitude: Double, address: String)? = nil) -> Signal<PeerId, CreateChannelError> {
#if DEBUG
return .fail(.tooMuchJoined)
#endif
return account.postbox.transaction { transaction -> Signal<PeerId, CreateChannelError> in return account.postbox.transaction { transaction -> Signal<PeerId, CreateChannelError> in
var flags: Int32 = 0 var flags: Int32 = 0
if isSupergroup { if isSupergroup {