mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-21 00:23:56 +08: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