mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-02 08:05:58 +08:00
fix cache key
This commit is contained in:
@@ -93,7 +93,7 @@ const (
|
||||
ClearConversationNotification = 2101
|
||||
DeleteMsgsNotification = 2102
|
||||
|
||||
NotificationEnd = 3000
|
||||
NotificationEnd = 5000
|
||||
|
||||
//status
|
||||
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 {
|
||||
cache := b.NewCache()
|
||||
cache.AddKeys(userID)
|
||||
cache.AddKeys(b.getBlackIDsKey(userID))
|
||||
return cache
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user