mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-20 00:39:01 +08:00
seq
This commit is contained in:
@@ -457,7 +457,7 @@ func (db *commonMsgDatabase) GetMsgBySeqsRange(ctx context.Context, userID strin
|
|||||||
if err != nil && errs.Unwrap(err) != redis.Nil {
|
if err != nil && errs.Unwrap(err) != redis.Nil {
|
||||||
return 0, 0, nil, err
|
return 0, 0, nil, err
|
||||||
}
|
}
|
||||||
if userMinSeq < minSeq {
|
if userMinSeq > minSeq {
|
||||||
minSeq = userMinSeq
|
minSeq = userMinSeq
|
||||||
}
|
}
|
||||||
if minSeq > end {
|
if minSeq > end {
|
||||||
|
|||||||
Reference in New Issue
Block a user