mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-01-11 01:10:13 +00:00
Track reminder unread status without cheating.
This commit is contained in:
parent
791ae64a90
commit
451056d2ab
@ -721,8 +721,8 @@ bool HistoryItem::needCheck() const {
|
||||
}
|
||||
|
||||
bool HistoryItem::unread() const {
|
||||
// Messages from myself are always read.
|
||||
if (history()->peer->isSelf()) {
|
||||
// Messages from myself are always read, unless scheduled.
|
||||
if (history()->peer->isSelf() && !isFromScheduled()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user