mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-22 09:07:05 +02:00
Don't show messages to support as always-read.
This commit is contained in:
parent
c5a46d9d1b
commit
de3ea30d69
1 changed files with 1 additions and 1 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue