2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Allow service messages to be unread mentions.

This commit is contained in:
John Preston
2017-08-25 15:48:10 +03:00
parent ee5c827f26
commit 4c604b34c1
4 changed files with 10 additions and 13 deletions

View File

@@ -1233,13 +1233,6 @@ void HistoryMessage::applyEditionToEmpty() {
finishEditionToEmpty();
}
void HistoryMessage::markMediaAsReadHook() {
if (mentionsMe()) {
history()->updateChatListEntry();
history()->eraseFromUnreadMentions(id);
}
}
bool HistoryMessage::displayForwardedFrom() const {
if (auto forwarded = Get<HistoryMessageForwarded>()) {
return Has<HistoryMessageVia>()