mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 22:54:01 +02:00
Fixed archived stickers loading.
This commit is contained in:
parent
faad13d07e
commit
cd986d6f5d
1 changed files with 1 additions and 1 deletions
|
@ -1317,7 +1317,7 @@ void StickersBox::getArchivedDone(uint64 offsetId, const MTPmessages_ArchivedSti
|
|||
|
||||
if (auto set = Stickers::feedSet(stickerSet.c_stickerSet())) {
|
||||
auto index = archived.indexOf(set->id);
|
||||
if (index != archived.size() - 1) {
|
||||
if (archived.isEmpty() || index != archived.size() - 1) {
|
||||
if (index < archived.size() - 1) {
|
||||
archived.removeAt(index);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue