message pull

pull/455/head
Gordon 2 years ago committed by Xinwei Xiong(cubxxw-openim)
parent 7c3a3d7c7c
commit 95b9f0d4a3

@ -290,6 +290,9 @@ 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)

Loading…
Cancel
Save