mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 11:23:48 +00:00
- remove test code [skip ci]
This commit is contained in:
parent
02759d2a3f
commit
a7d54f9c8a
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user