Merge remote-tracking branch 'origin/errcode' into errcode

test-errcode
withchao 1 year ago
commit 09e63b293e

@ -417,7 +417,7 @@ func (db *commonMsgDatabase) GetMsgBySeqsRange(ctx context.Context, userID strin
if err != nil && errs.Unwrap(err) != redis.Nil {
return 0, 0, nil, err
}
if userMinSeq < minSeq {
if userMinSeq > minSeq {
minSeq = userMinSeq
}
if minSeq > end {

Loading…
Cancel
Save