hotfix #26

Merged
李寻欢 merged 3 commits from hotfix into main 2024-03-07 10:04:47 +08:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 22474efc57 - Show all commits

View File

@ -23,7 +23,7 @@ func parse(msg []byte) {
m.Raw = string(msg) m.Raw = string(msg)
// 如果不是自己的消息,直接返回 // 如果不是自己的消息,直接返回
if m.FromUser == current.GetRobotInfo().WxId { if m.ToUser == current.GetRobotInfo().WxId {
return return
} }

View File

@ -24,7 +24,7 @@ func parse(remoteAddr net.Addr, msg []byte) {
m.Raw = string(msg) m.Raw = string(msg)
// 如果不是自己的消息,直接返回 // 如果不是自己的消息,直接返回
if m.FromUser == current.GetRobotInfo().WxId { if m.ToUser == current.GetRobotInfo().WxId {
return return
} }