From b116c45375cfd92f546ba87387ddb637058eeeb4 Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Wed, 27 Apr 2022 13:09:54 -0700 Subject: [PATCH] Bump fuse.js treshold value --- ts/util/filterAndSortConversations.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/util/filterAndSortConversations.ts b/ts/util/filterAndSortConversations.ts index ed984d63b..b5ecffe9b 100644 --- a/ts/util/filterAndSortConversations.ts +++ b/ts/util/filterAndSortConversations.ts @@ -9,7 +9,7 @@ import { parseAndFormatPhoneNumber } from './libphonenumberInstance'; const FUSE_OPTIONS: Fuse.IFuseOptions = { // A small-but-nonzero threshold lets us match parts of E164s better, and makes the // search a little more forgiving. - threshold: 0.1, + threshold: 0.2, useExtendedSearch: true, keys: [ {