2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-04 00:15:42 +00:00

Empty messages do not participate in displayDate() flow.

Example of an empty message is service message after clear history.
This commit is contained in:
John Preston
2016-06-08 22:14:17 +03:00
parent 23a598ba3d
commit a5cbbba12d
5 changed files with 12 additions and 8 deletions

View File

@@ -107,7 +107,7 @@ void paintRow(Painter &p, History *history, HistoryItem *item, HistoryDraft *dra
} else {
history->typingText.drawElided(p, nameleft, texttop, namewidth);
}
} else {
} else if (!item->isEmpty()) {
paintRowDate(p, item->date, rectForName, active);
// draw check