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:
@@ -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>()
|
||||
|
Reference in New Issue
Block a user