message update

This commit is contained in:
Gordon
2022-11-02 15:32:36 +08:00
parent cdf851d196
commit 5c503e71ed
3 changed files with 4 additions and 39 deletions
-3
View File
@@ -374,9 +374,6 @@ func (d *DataBases) GetMsgBySeqListMongo2(uid string, seqList []uint32, operatio
}
}
}
if len(hasSeqList) == 0 {
return nil, errors.New("pull message is null")
}
if len(hasSeqList) != len(seqList) {
var diff []uint32
diff = utils.Difference(hasSeqList, seqList)