fix: allow hyphen on search term (#4731)
This commit is contained in:
parent
d93e66813d
commit
5fad43fcfb
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ async function queryConversationsAndContacts(
|
||||||
}
|
}
|
||||||
) {
|
) {
|
||||||
const { ourConversationId, noteToSelf } = options;
|
const { ourConversationId, noteToSelf } = options;
|
||||||
const query = providedQuery.replace(/[+-.()]*/g, '');
|
const query = providedQuery.replace(/[+.()]*/g, '');
|
||||||
|
|
||||||
const searchResults: Array<DBConversationType> = await dataSearchConversations(
|
const searchResults: Array<DBConversationType> = await dataSearchConversations(
|
||||||
query
|
query
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue