diff --git a/ts/background.ts b/ts/background.ts index c0520d1e4b..3bb448952a 100644 --- a/ts/background.ts +++ b/ts/background.ts @@ -879,10 +879,10 @@ export async function startApp(): Promise { const changedConvoBatcher = createBatcher({ name: 'changedConvoBatcher', processBatch(batch) { - const deduped = Array.from(new Set(batch)); + const deduped = new Set(batch); window.log.info( 'changedConvoBatcher: deduped ' + - `${batch.length} into ${deduped.length}` + `${batch.length} into ${deduped.size}` ); deduped.forEach(conversation => {