mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-02 02:07:54 +00:00
Don't add global posts search preview for in-chat start.
This commit is contained in:
@@ -4208,7 +4208,8 @@ void InnerWidget::repaintPreviewResult(int index) {
|
||||
|
||||
bool InnerWidget::computeSearchWithPostsPreview() const {
|
||||
return (_searchHashOrCashtag != HashOrCashtag::None)
|
||||
&& (_searchState.tab == ChatSearchTab::MyMessages);
|
||||
&& (_searchState.tab == ChatSearchTab::MyMessages)
|
||||
&& !_searchState.inChat;
|
||||
}
|
||||
|
||||
void InnerWidget::clearFilter() {
|
||||
|
||||
Reference in New Issue
Block a user