From 878ab0ef6b5ad22f9926cf62328dbf60803ba5bd Mon Sep 17 00:00:00 2001 From: gaord Date: Fri, 18 Jul 2025 12:52:30 +0800 Subject: [PATCH] =?UTF-8?q?fix(wechatpad):=20@=E6=89=80=E6=9C=89=E4=BA=BA?= =?UTF-8?q?=E7=9A=84=E6=83=85=E5=86=B5=E4=B8=8B=EF=BC=8C=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?@=E6=9C=BA=E5=99=A8=E4=BA=BA=E6=B6=88=E6=81=AF=E6=9C=AA?= =?UTF-8?q?=E8=A2=AB=E6=AD=A3=E7=A1=AE=E8=A7=A3=E6=9E=90=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20(#1575)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/platform/sources/wechatpad.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/platform/sources/wechatpad.py b/pkg/platform/sources/wechatpad.py index c9fb34ab..ac1be16b 100644 --- a/pkg/platform/sources/wechatpad.py +++ b/pkg/platform/sources/wechatpad.py @@ -105,7 +105,7 @@ class WeChatPadMessageConverter(adapter.MessageConverter): self.logger.info(f"ats_bot: {ats_bot}; bot_account_id: {bot_account_id}; bot_wxid: {bot_wxid}") if "@所有人" in content: message_list.append(platform_message.AtAll()) - elif ats_bot: + if ats_bot: message_list.append(platform_message.At(target=bot_account_id)) # 解析@信息并生成At组件