mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-01 22:01:49 +01:00
Don't search conversations if searching within conversation
This commit is contained in:
@@ -76,7 +76,7 @@ export class MainHeader extends React.Component<PropsType> {
|
||||
searchConversationId,
|
||||
} = this.props;
|
||||
|
||||
if (searchDiscussions) {
|
||||
if (searchDiscussions && !searchConversationId) {
|
||||
searchDiscussions(searchTerm, {
|
||||
noteToSelf: i18n('noteToSelf').toLowerCase(),
|
||||
ourNumber,
|
||||
@@ -89,7 +89,7 @@ export class MainHeader extends React.Component<PropsType> {
|
||||
regionCode,
|
||||
});
|
||||
}
|
||||
}, 50);
|
||||
}, 200);
|
||||
|
||||
public updateSearch = (event: React.FormEvent<HTMLInputElement>) => {
|
||||
const {
|
||||
|
||||
Reference in New Issue
Block a user