Merge pull request '🐛 Fix a bug.' (#27) from hotfix into main
All checks were successful
BuildImage / build-image (push) Successful in 1m22s
All checks were successful
BuildImage / build-image (push) Successful in 1m22s
Reviewed-on: #27
This commit is contained in:
commit
0f7cf5515d
@ -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 {
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user