Increased the distance to support contacts that may have even longer titles

This commit is contained in:
Alvaro 2022-08-12 10:10:52 -06:00 committed by GitHub
parent a160fb7963
commit 3991b06256
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -20,8 +20,8 @@ const FUSE_OPTIONS: Fuse.IFuseOptions<ConversationType> = {
// We sort manually anyway
shouldSort: true,
// the default of 100 is not enough to catch a word at the end of a convo/group title
// 150 is about right
distance: 150,
// 200 is about right (contact names can get longer than the max for group titles)
distance: 200,
keys: [
{
name: 'searchableTitle',