From de3ea30d6912cd3f4d45fd3ad64b06c9d56e1e26 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 8 Jun 2021 15:56:03 +0400 Subject: [PATCH] Don't show messages to support as always-read. --- Telegram/SourceFiles/history/history_item.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/history/history_item.cpp b/Telegram/SourceFiles/history/history_item.cpp index 7deeb32d3b..a0e247a1dd 100644 --- a/Telegram/SourceFiles/history/history_item.cpp +++ b/Telegram/SourceFiles/history/history_item.cpp @@ -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()) {