mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-04 00:55:59 +08:00
sg notification
This commit is contained in:
Vendored
+3
-3
@@ -137,9 +137,9 @@ func (c *msgCache) getSeqs(ctx context.Context, items []string, getkey func(s st
|
||||
if seq.Err() != nil && seq.Err() != redis.Nil {
|
||||
return nil, errs.Wrap(v.Err())
|
||||
}
|
||||
seqInt64 := utils.StringToInt64(seq.Val())
|
||||
if seqInt64 != 0 {
|
||||
m[items[i]] = seqInt64
|
||||
val := utils.StringToInt64(seq.Val())
|
||||
if val != 0 {
|
||||
m[items[i]] = val
|
||||
}
|
||||
}
|
||||
return m, nil
|
||||
|
||||
Reference in New Issue
Block a user