duxin 1 год назад
Родитель
Сommit
a062a35fc1
1 измененных файлов с 1 добавлено и 1 удалено
  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 {