From f8892881f8ca0e073db65c254fb62a45c1e29eac Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Mon, 3 Feb 2025 14:28:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B0=9D=E8=AF=95=E4=BF=AE=E5=A4=8D=20g?= =?UTF-8?q?ewechat=20=E7=BE=A4=E8=81=8A=E6=94=B6=E4=B8=8D=E5=88=B0=20at=20?= =?UTF-8?q?=E7=9A=84=E5=9B=9E=E5=A4=8D=20#294?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- astrbot/core/platform/sources/gewechat/client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/astrbot/core/platform/sources/gewechat/client.py b/astrbot/core/platform/sources/gewechat/client.py index bb5d6e1f1..73ea7dfe0 100644 --- a/astrbot/core/platform/sources/gewechat/client.py +++ b/astrbot/core/platform/sources/gewechat/client.py @@ -95,6 +95,8 @@ class SimpleGewechatClient(): if f'' in msg_source \ or f'' in msg_source: at_me = True + if '在群聊中@了你' in d.get('PushContent', ''): + at_me = True else: abm.type = MessageType.FRIEND_MESSAGE user_id = from_user_name