diff --git a/Telegram/SourceFiles/history/history_item.cpp b/Telegram/SourceFiles/history/history_item.cpp index b0aa8497e1eba3..078c2f078dcf9a 100644 --- a/Telegram/SourceFiles/history/history_item.cpp +++ b/Telegram/SourceFiles/history/history_item.cpp @@ -3670,6 +3670,10 @@ bool HistoryItem::unread(not_null thread) const { } else if (const auto channel = _history->peer->asChannel()) { if (!channel->isMegagroup()) { return false; + } else if (channel->isForum()) { + if (const auto topic = this->topic()) { + return topic->isServerSideUnread(this); + } } } }