2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 00:46:08 +00:00

Respect global group read position in replies.

This commit is contained in:
John Preston
2020-09-18 14:52:44 +03:00
parent f53f934001
commit ab429212e5
7 changed files with 43 additions and 8 deletions

View File

@@ -239,7 +239,7 @@ bool RepliesList::buildFromData(not_null<Viewer*> viewer) {
return viewer->around;
} else if (const auto item = lookupRoot()) {
if (const auto original = item->lookupDiscussionPostOriginal()) {
return original->commentsReadTill();
return original->computeCommentsReadTillFull();
}
}
return viewer->around;