mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Enable reading reactions on the server.
This commit is contained in:
parent
8bde488662
commit
51c805d77a
1 changed files with 1 additions and 2 deletions
|
@ -1294,8 +1294,7 @@ void ApiWrap::markContentsRead(
|
||||||
QVector<MTPint>>();
|
QVector<MTPint>>();
|
||||||
markedIds.reserve(items.size());
|
markedIds.reserve(items.size());
|
||||||
for (const auto &item : items) {
|
for (const auto &item : items) {
|
||||||
if (!item->markContentsRead(true) || !item->isRegular() || true) {
|
if (!item->markContentsRead(true) || !item->isRegular()) {
|
||||||
AssertIsDebug();
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (const auto channel = item->history()->peer->asChannel()) {
|
if (const auto channel = item->history()->peer->asChannel()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue