Update API

This commit is contained in:
Ali
2022-11-05 00:18:06 +04:00
parent 38c0fd0bf2
commit 3fde9cf033
2 changed files with 5 additions and 9 deletions

View File

@@ -386,13 +386,8 @@ 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(
flags: 1 << 0,
channel: inputChannel,
order: threadIds.map(Int32.init(clamping:))
))