This commit is contained in:
wangchuxiao 2023-03-21 20:18:39 +08:00
parent 7b12a8755a
commit 9a636a15de

View File

@ -188,10 +188,11 @@ func checkMaxSeqWithMongo(operationID, ID string, diffusionType int) error {
}
if err != nil {
if err == goRedis.Nil {
return nil
}
} else {
return utils.Wrap(err, "GetUserMaxSeq failed")
}
}
msg, err := db.DB.GetNewestMsg(ID)
if err != nil {
return utils.Wrap(err, "GetNewestMsg failed")