mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
@@ -100,7 +100,9 @@ ChatSearchTab SearchState::defaultTabForMe() 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
|
||||
|
Reference in New Issue
Block a user