mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Refactoring
This commit is contained in:
@@ -797,7 +797,7 @@ public func channelPermissionsController(context: AccountContext, peerId origina
|
||||
let progress = OverlayStatusController(theme: presentationData.theme, type: .loading(cancelled: nil))
|
||||
presentControllerImpl?(progress, nil)
|
||||
|
||||
let signal = convertGroupToSupergroup(account: context.account, peerId: view.peerId)
|
||||
let signal = context.engine.peers.convertGroupToSupergroup(peerId: view.peerId)
|
||||
|> mapError { error -> UpdateChannelSlowModeError in
|
||||
switch error {
|
||||
case .tooManyChannels:
|
||||
|
||||
Reference in New Issue
Block a user