Fix threads list opening for bots.

This commit is contained in:
John Preston
2025-09-05 22:19:21 +04:00
parent a651853534
commit c54e05d220
2 changed files with 3 additions and 1 deletions
@@ -2015,7 +2015,7 @@ void Widget::refreshTopBars() {
updateSearchFromVisibility(true);
}
_forumSearchRequested = false;
if (_openedForum) {
if (_openedForum && _openedForum->peer()->isChannel()) {
const auto peer = _openedForum->peer();
peer->updateFull();