Fixed pinned count for subsection tabs when chat itself is pinned.

This commit is contained in:
23rd
2025-09-26 09:01:40 +03:00
committed by John Preston
parent bc52ad7bf2
commit ff6e2b6d31
@@ -393,7 +393,8 @@ void SubsectionTabs::startFillingSlider(
if (item.thread->fixedOnTopIndex()) {
++fixedCount;
}
if (item.thread->isPinnedDialog(FilterId())) {
if (item.thread->isPinnedDialog(FilterId())
&& item.thread->asTopic()) {
++pinnedCount;
}
const auto textFg = [=] {