mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
fix cache key
This commit is contained in:
parent
727a28d993
commit
6dd16d2b67
@ -93,7 +93,7 @@ const (
|
||||
ClearConversationNotification = 2101
|
||||
DeleteMsgsNotification = 2102
|
||||
|
||||
NotificationEnd = 3000
|
||||
NotificationEnd = 5000
|
||||
|
||||
//status
|
||||
MsgNormal = 1
|
||||
|
2
pkg/common/db/cache/black.go
vendored
2
pkg/common/db/cache/black.go
vendored
@ -62,6 +62,6 @@ func (b *BlackCacheRedis) GetBlackIDs(ctx context.Context, userID string) (black
|
||||
|
||||
func (b *BlackCacheRedis) DelBlackIDs(ctx context.Context, userID string) BlackCache {
|
||||
cache := b.NewCache()
|
||||
cache.AddKeys(userID)
|
||||
cache.AddKeys(b.getBlackIDsKey(userID))
|
||||
return cache
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user