From 51c805d77a533a93d7aa52ee7a9891c3bb5e26c4 Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 28 Jan 2022 16:19:07 +0300 Subject: [PATCH] Enable reading reactions on the server. --- Telegram/SourceFiles/apiwrap.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/apiwrap.cpp b/Telegram/SourceFiles/apiwrap.cpp index 67d44fcad..ec23a3c82 100644 --- a/Telegram/SourceFiles/apiwrap.cpp +++ b/Telegram/SourceFiles/apiwrap.cpp @@ -1294,8 +1294,7 @@ void ApiWrap::markContentsRead( QVector>(); 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()) {