Merge pull request '🐛 Fix a bug.' (#27) from hotfix into main
BuildImage / build-image (push) Successful in 1m22s Details

Reviewed-on: #27
This commit is contained in:
李寻欢 2024-03-08 07:45:51 +08:00
commit 0f7cf5515d
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 {