1
0
Fork 0

🐛 Fix a bug.

This commit is contained in:
李寻欢 2024-03-08 07:45:05 +08:00
parent 165fefdb48
commit a2d84dea08
2 changed files with 0 additions and 10 deletions

View File

@ -22,11 +22,6 @@ func parse(msg []byte) {
// 记录原始数据
m.Raw = string(msg)
// 如果不是自己的消息,直接返回
if m.ToUser == current.GetRobotInfo().WxId {
return
}
// 提取出群成员信息
// Sys类型的消息正文不包含微信 Id所以不需要处理
if m.IsGroup() && m.Type != types.MsgTypeSys {

View File

@ -23,11 +23,6 @@ func parse(remoteAddr net.Addr, msg []byte) {
// 记录原始数据
m.Raw = string(msg)
// 如果不是自己的消息,直接返回
if m.ToUser == current.GetRobotInfo().WxId {
return
}
// 提取出群成员信息
// Sys类型的消息正文不包含微信 Id所以不需要处理
if m.IsGroup() && m.Type != types.MsgTypeSys {