Removed chat filters strip from folders and forums in separated windows.

This commit is contained in:
23rd 2025-03-09 02:38:15 +03:00 committed by John Preston
parent 2b43f2682a
commit 4b2c5b3321

View file

@ -1333,6 +1333,9 @@ void Widget::toggleFiltersMenu(bool enabled) {
if (_layout == Layout::Child) {
enabled = false;
}
if (const auto id = controller()->windowId(); id.forum() || id.folder()) {
enabled = false;
}
if (!enabled == !_chatFilters) {
return;
} else if (enabled) {