mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Add additional usernames indexing
This commit is contained in:
@@ -1679,7 +1679,8 @@ public func channelVisibilityController(context: AccountContext, updatedPresenta
|
||||
action = presentationData.strings.Channel_Setup_ActivateAlertShow
|
||||
}
|
||||
presentControllerImpl?(textAlertController(context: context, title: title, text: text, actions: [TextAlertAction(type: .genericAction, title: presentationData.strings.Common_Cancel, action: {}), TextAlertAction(type: .defaultAction, title: action, action: {
|
||||
let _ = context.engine.peers.toggleAddressNameActive(domain: .peer(peerId), name: name, active: true).start(error: { error in
|
||||
let _ = (context.engine.peers.toggleAddressNameActive(domain: .peer(peerId), name: name, active: true)
|
||||
|> deliverOnMainQueue).start(error: { error in
|
||||
let errorText: String
|
||||
switch error {
|
||||
case .activeLimitReached:
|
||||
|
||||
Reference in New Issue
Block a user