Potentially fix another bug

This commit is contained in:
Sebastian Wolf 2021-02-13 20:01:42 +01:00
parent 8fc499582b
commit 23fd7cb7cd
No known key found for this signature in database
GPG key ID: CEA9522B5F38A90A

View file

@ -129,7 +129,7 @@ void StickerManager::handleStickerSetsReceived(const QVariantList &stickerSets)
this->stickerSetMap.clear(); this->stickerSetMap.clear();
while (stickerSetIdIterator.hasNext()) { while (stickerSetIdIterator.hasNext()) {
QString stickerSetId = stickerSetIdIterator.next().toString(); QString stickerSetId = stickerSetIdIterator.next().toString();
if (this->installedStickerSetIds.contains(stickerSetId)) { if (this->stickerSets.contains(stickerSetId)) {
this->installedStickerSets.append(this->stickerSets.value(stickerSetId)); this->installedStickerSets.append(this->stickerSets.value(stickerSetId));
this->stickerSetMap.insert(stickerSetId, i); this->stickerSetMap.insert(stickerSetId, i);
i++; i++;