mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Support multiple pinned threads
This commit is contained in:
@@ -386,6 +386,12 @@ func _internal_setForumChannelPinnedTopics(account: Account, id: EnginePeer.Id,
|
||||
return .fail(.generic)
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
if "".isEmpty {
|
||||
return .complete()
|
||||
}
|
||||
#endif
|
||||
|
||||
return account.network.request(Api.functions.channels.reorderPinnedForumTopics(
|
||||
channel: inputChannel,
|
||||
order: threadIds.map(Int32.init(clamping:))
|
||||
|
||||
Reference in New Issue
Block a user