mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-08-27 08:59:45 +08:00
message pull
This commit is contained in:
parent
16b3ea8b7e
commit
cd7b484fc2
@ -370,6 +370,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) {
|
if len(hasSeqList) != len(seqList) {
|
||||||
var diff []uint32
|
var diff []uint32
|
||||||
diff = utils.Difference(hasSeqList, seqList)
|
diff = utils.Difference(hasSeqList, seqList)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user