mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-10 20:15:59 +08:00
cache
This commit is contained in:
Vendored
+1
-1
@@ -134,7 +134,7 @@ func updateAllBlackListToCache(userList []db.User) error {
|
|||||||
log.NewError("", utils.GetSelfFuncName(), err.Error())
|
log.NewError("", utils.GetSelfFuncName(), err.Error())
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if err := db.DB.AddBlackUserToCache(user.UserID, blackIDList); err != nil {
|
if err := db.DB.AddBlackUserToCache(user.UserID, blackIDList...); err != nil {
|
||||||
log.NewError("0", utils.GetSelfFuncName(), err.Error())
|
log.NewError("0", utils.GetSelfFuncName(), err.Error())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user