mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Don't show messages to support as always-read.
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user