mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-03 16:05:57 +00:00
@@ -100,7 +100,9 @@ ChatSearchTab SearchState::defaultTabForMe() const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool SearchState::filterChatsList() const {
|
bool SearchState::filterChatsList() const {
|
||||||
return !inChat && (tab == ChatSearchTab::MyMessages);
|
using Tab = ChatSearchTab;
|
||||||
|
return !inChat // ThisPeer can be in opened forum.
|
||||||
|
&& (tab == Tab::MyMessages || tab == Tab::ThisPeer);
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace Dialogs
|
} // namespace Dialogs
|
||||||
|
Reference in New Issue
Block a user