Track reminder unread status without cheating.

This commit is contained in:
John Preston 2019-08-31 14:32:15 +03:00
parent 791ae64a90
commit 451056d2ab
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}