From 028fbb7528aacbb08a621190fc241a3f4c286337 Mon Sep 17 00:00:00 2001 From: ikechan8370 Date: Tue, 28 Nov 2023 19:08:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=97=AF=E5=97=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/chat.js b/apps/chat.js index 69944a27..631d2f24 100644 --- a/apps/chat.js +++ b/apps/chat.js @@ -803,7 +803,7 @@ export class chatgpt extends plugin { if (!msg || e.msg?.startsWith('#')) { return false } - if ((e.isGroup || e.group_id) && !(e.atme || e.atBot || e.at == getUin(e))) { + if ((e.isGroup || e.group_id) && !(e.atme || e.atBot || (e.at === e.self_id))) { return false } if (e.user_id == getUin(e)) return false