调试内容

This commit is contained in:
liuwei
2025-05-16 14:40:47 +08:00
parent 6829031e55
commit d39f2bd918

View File

@@ -168,7 +168,7 @@ class WxMessage:
content_str = data.get("Content", {}).get("string", "")
# 判断是否是群聊消息
is_group_chat = from_user.endswith("@chatroom")
is_group_chat = from_user.endswith("@chatroom") or to_user.endswith("@chatroom")
# 如果是群聊消息,需要调整发送者和接收者
actual_sender = from_user