From 17f8269c543266c59939915df0fa8849995bb122 Mon Sep 17 00:00:00 2001 From: Matvei Andrienko Date: Wed, 18 Dec 2024 17:11:54 +0100 Subject: [PATCH] fix typo --- src/thread.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thread.ts b/src/thread.ts index 66d315b48..24bbe072b 100644 --- a/src/thread.ts +++ b/src/thread.ts @@ -357,7 +357,7 @@ export class Thread { selectKey: (reply) => reply.id, }); - if (replies[index]?.id !== message.id ? index : null) { + if (replies[index]?.id !== message.id) { return; }