mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Track unread mentions and unread reactions the same way.
This commit is contained in:
@@ -918,8 +918,8 @@ void Manager::notificationReplied(
|
||||
history->session().api().sendMessage(std::move(message));
|
||||
|
||||
const auto item = history->owner().message(history->peer, id.msgId);
|
||||
if (item && item->isUnreadMention() && !item->isUnreadMedia()) {
|
||||
history->session().api().markMediaRead(item);
|
||||
if (item && item->isUnreadMention() && !item->isIncomingUnreadMedia()) {
|
||||
history->session().api().markContentsRead(item);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user