2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Update dialog row height on topic switch.

This commit is contained in:
John Preston
2022-11-29 21:36:34 +04:00
parent 3c799a5cc1
commit beaea9c57d
14 changed files with 80 additions and 2 deletions

View File

@@ -183,6 +183,12 @@ void ChannelData::setFlags(ChannelDataFlags which) {
}
if (diff & Flag::Forum) {
Core::App().notifications().clearFromHistory(history);
history->updateChatListEntryHeight();
if (history->inChatList()) {
if (const auto forum = this->forum()) {
forum->preloadTopics();
}
}
}
}
}