2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Fix crash in stickers.

This commit is contained in:
John Preston
2020-05-31 12:18:24 +04:00
parent 9b574e497d
commit f4cd84c313
5 changed files with 10 additions and 11 deletions

View File

@@ -3344,7 +3344,7 @@ void ApiWrap::readFeaturedSetDelayed(uint64 setId) {
}
void ApiWrap::readFeaturedSets() {
auto &sets = _session->data().stickerSetsRef();
const auto &sets = _session->data().stickerSets();
auto count = _session->data().featuredStickerSetsUnreadCount();
QVector<MTPlong> wrappedIds;
wrappedIds.reserve(_featuredSetsRead.size());