Ver Fonte

fix:推送修改

duxin há 1 ano atrás
pai
commit
a062a35fc1
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      rpc/internal/common/sendMsg.go

+ 1 - 1
rpc/internal/common/sendMsg.go

@@ -29,7 +29,7 @@ func FindUserMsg(this message.FindUserMsgReq, isClean bool) message.FindUserMsgR
 		"isdel":          1,
 		"appid":          this.Appid,
 	}
-	if this.MsgType != -1 {
+	if this.MsgType > 0 {
 		cquery["group_id"] = this.MsgType
 	}
 	if this.Read != -1 {