Don't show messages to support as always-read.

This commit is contained in:
John Preston 2021-06-08 15:56:03 +04:00
parent c5a46d9d1b
commit de3ea30d69
1 changed files with 1 additions and 1 deletions

View File

@ -878,7 +878,7 @@ bool HistoryItem::unread() const {
return false;
}
if (const auto user = history()->peer->asUser()) {
if (user->isBot()) {
if (user->isBot() && !user->isSupport()) {
return false;
}
} else if (const auto channel = history()->peer->asChannel()) {