mirror of
https://github.com/langbot-app/LangBot.git
synced 2025-11-25 11:29:39 +08:00
fix(wechatpad): @所有人的情况下,修复@机器人消息未被正确解析的问题 (#1575)
This commit is contained in:
@@ -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组件
|
||||
|
||||
Reference in New Issue
Block a user