We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6aa92c1 commit 4e886d8Copy full SHA for 4e886d8
wechatrobot/WeChatRobot.py
@@ -70,7 +70,7 @@ def receive_callback(self , msg):
70
71
msg['type'] = type_dict.get(msg['type'] , 'unhandled')
72
73
- if 1 == msg["isSendMsg"]:
+ if 1 == msg["isSendMsg"] and 1 == msg["isSendByPhone"]:
74
Bus.emit("self_msg", msg)
75
elif "chatroom" in msg["sender"]:
76
Bus.emit("group_msg", msg)
0 commit comments