mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-07 06:43:43 +00:00
ArchivedStickerPacks: bump limit to actual server archived packs limit
This commit is contained in:
parent
9bbeec6298
commit
df390f62a2
@ -29,7 +29,7 @@ public func archivedStickerPacks(account: Account, namespace: ArchivedStickerPac
|
|||||||
if case .masks = namespace {
|
if case .masks = namespace {
|
||||||
flags |= 1 << 0
|
flags |= 1 << 0
|
||||||
}
|
}
|
||||||
return account.network.request(Api.functions.messages.getArchivedStickers(flags: flags, offsetId: 0, limit: 100))
|
return account.network.request(Api.functions.messages.getArchivedStickers(flags: flags, offsetId: 0, limit: 200))
|
||||||
|> map { result -> [ArchivedStickerPackItem] in
|
|> map { result -> [ArchivedStickerPackItem] in
|
||||||
var archivedItems: [ArchivedStickerPackItem] = []
|
var archivedItems: [ArchivedStickerPackItem] = []
|
||||||
switch result {
|
switch result {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user