From 8ec16eb16efdde5966517164821509f7604fadb4 Mon Sep 17 00:00:00 2001 From: lanyi Date: Mon, 4 Jan 2021 05:07:18 +0100 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B0=9D=E8=AF=95=E6=92=A4?= =?UTF-8?q?=E5=9B=9E=E5=85=B6=E4=BB=96=E4=BA=BA=E6=B6=88=E6=81=AF=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/index.ts b/index.ts index 2b4cb9c..aa9ebc9 100644 --- a/index.ts +++ b/index.ts @@ -222,11 +222,8 @@ async function app() { const releaseMutex = await mutex.acquire() try { for (const group of groups) { - if (group.group === event.group.id) { - continue - } const matched = group.stored.translate(event.messageId) - if (!matched) { + if (!matched || matched.isOriginal) { continue } try {