mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-06 23:24:01 +02:00
Track reminder unread status without cheating.
This commit is contained in:
parent
791ae64a90
commit
451056d2ab
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue