Enable reading reactions on the server.

This commit is contained in:
John Preston 2022-01-28 16:19:07 +03:00
parent 8bde488662
commit 51c805d77a
1 changed files with 1 additions and 2 deletions

View File

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