调试内容
This commit is contained in:
@@ -168,7 +168,7 @@ class WxMessage:
|
|||||||
content_str = data.get("Content", {}).get("string", "")
|
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
|
actual_sender = from_user
|
||||||
|
|||||||
Reference in New Issue
Block a user