mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Refactoring
This commit is contained in:
@@ -1220,7 +1220,7 @@ public func channelAdminController(context: AccountContext, peerId: PeerId, admi
|
||||
case conversionFailed
|
||||
}
|
||||
|
||||
let signal = convertGroupToSupergroup(account: context.account, peerId: peerId)
|
||||
let signal = context.engine.peers.convertGroupToSupergroup(peerId: peerId)
|
||||
|> map(Optional.init)
|
||||
|> `catch` { error -> Signal<PeerId?, WrappedUpdateChannelAdminRightsError> in
|
||||
switch error {
|
||||
|
||||
Reference in New Issue
Block a user