mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
fix: allow hyphen on search term (#4731)
This commit is contained in:
@@ -282,7 +282,7 @@ async function queryConversationsAndContacts(
|
||||
}
|
||||
) {
|
||||
const { ourConversationId, noteToSelf } = options;
|
||||
const query = providedQuery.replace(/[+-.()]*/g, '');
|
||||
const query = providedQuery.replace(/[+.()]*/g, '');
|
||||
|
||||
const searchResults: Array<DBConversationType> = await dataSearchConversations(
|
||||
query
|
||||
|
||||
Reference in New Issue
Block a user