mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-30 01:08:02 +00:00
Don't add global posts search preview for in-chat start.
This commit is contained in:
@@ -2942,7 +2942,8 @@ auto Widget::currentSearchProcess() -> not_null<SearchProcessState*> {
|
||||
|
||||
bool Widget::computeSearchWithPostsPreview() const {
|
||||
return (_searchHashOrCashtag != HashOrCashtag::None)
|
||||
&& (_searchState.tab == ChatSearchTab::MyMessages);
|
||||
&& (_searchState.tab == ChatSearchTab::MyMessages)
|
||||
&& !_searchState.inChat;
|
||||
}
|
||||
|
||||
void Widget::searchReceived(
|
||||
|
||||
Reference in New Issue
Block a user