mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 23:15:59 +00:00
Mark topics as read on reply from notification.
This commit is contained in:
@@ -254,6 +254,10 @@ void ForumTopic::setRealRootId(MsgId realId) {
|
||||
}
|
||||
}
|
||||
|
||||
void ForumTopic::readTillEnd() {
|
||||
_replies->readTill(_lastKnownServerMessageId);
|
||||
}
|
||||
|
||||
void ForumTopic::applyTopic(const MTPDforumTopic &data) {
|
||||
Expects(_rootId == data.vid().v);
|
||||
|
||||
|
Reference in New Issue
Block a user