mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Ignore filter switching in separate window archive.
This commit is contained in:
@@ -3690,6 +3690,9 @@ bool InnerWidget::chooseCollapsedRow(Qt::KeyboardModifiers modifiers) {
|
||||
}
|
||||
|
||||
void InnerWidget::switchToFilter(FilterId filterId) {
|
||||
if (_controller->windowId().type != Window::SeparateType::Primary) {
|
||||
return;
|
||||
}
|
||||
const auto &list = session().data().chatsFilters().list();
|
||||
const auto filterIt = filterId
|
||||
? ranges::find(list, filterId, &Data::ChatFilter::id)
|
||||
|
||||
Reference in New Issue
Block a user