diff --git a/Telegram/SourceFiles/apiwrap.cpp b/Telegram/SourceFiles/apiwrap.cpp index 67d44fcad1..ec23a3c829 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()) {