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

Index new unread reactions in history.

This commit is contained in:
John Preston
2022-01-27 17:38:59 +03:00
parent 8f33d5903d
commit 9903266722
5 changed files with 59 additions and 26 deletions

View File

@@ -1294,7 +1294,8 @@ void ApiWrap::markContentsRead(
QVector<MTPint>>();
markedIds.reserve(items.size());
for (const auto &item : items) {
if (!item->markContentsRead() || !item->isRegular()) {
if (!item->markContentsRead() || !item->isRegular() || true) {
AssertIsDebug();
continue;
}
if (const auto channel = item->history()->peer->asChannel()) {