mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-12 21:16:00 +08:00
fix cache key
This commit is contained in:
@@ -93,7 +93,7 @@ const (
|
|||||||
ClearConversationNotification = 2101
|
ClearConversationNotification = 2101
|
||||||
DeleteMsgsNotification = 2102
|
DeleteMsgsNotification = 2102
|
||||||
|
|
||||||
NotificationEnd = 3000
|
NotificationEnd = 5000
|
||||||
|
|
||||||
//status
|
//status
|
||||||
MsgNormal = 1
|
MsgNormal = 1
|
||||||
|
|||||||
Vendored
+1
-1
@@ -62,6 +62,6 @@ func (b *BlackCacheRedis) GetBlackIDs(ctx context.Context, userID string) (black
|
|||||||
|
|
||||||
func (b *BlackCacheRedis) DelBlackIDs(ctx context.Context, userID string) BlackCache {
|
func (b *BlackCacheRedis) DelBlackIDs(ctx context.Context, userID string) BlackCache {
|
||||||
cache := b.NewCache()
|
cache := b.NewCache()
|
||||||
cache.AddKeys(userID)
|
cache.AddKeys(b.getBlackIDsKey(userID))
|
||||||
return cache
|
return cache
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user