From 89f438208a529db63bb0e54869baf9e32ba83449 Mon Sep 17 00:00:00 2001 From: chenzhenkun Date: Fri, 1 Sep 2023 18:39:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=87=AA=E5=B7=B1=E8=89=BE?= =?UTF-8?q?=E7=89=B9=E8=87=AA=E5=B7=B1=E4=BC=9A=E6=AD=BB=E5=BE=AA=E7=8E=AF?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- channel/chat_channel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channel/chat_channel.py b/channel/chat_channel.py index 33b3d7f..83853df 100644 --- a/channel/chat_channel.py +++ b/channel/chat_channel.py @@ -103,7 +103,7 @@ class ChatChannel(Channel): flag = True if match_prefix: content = content.replace(match_prefix, "", 1).strip() - if context["msg"].is_at: + if context["msg"].is_at and context["msg"].to_user_id != context["msg"].actual_user_id: logger.info("[WX]receive group at") if not conf().get("group_at_off", False): flag = True