mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-08-07 19:50:07 +08:00
fix bug
This commit is contained in:
parent
8bb82be2b9
commit
a937a94e43
@ -129,7 +129,7 @@ func GetGroupMemberIDListFromCache(groupID string) ([]string, error) {
|
||||
bytes, err := json.Marshal(groupMemberIDList)
|
||||
return string(bytes), utils.Wrap(err, "")
|
||||
}
|
||||
groupIDListStr, err := db.DB.WeakRc.Fetch(groupCache+groupID, time.Second*30*60, getGroupMemberIDList)
|
||||
groupIDListStr, err := db.DB.Rc.Fetch(groupCache+groupID, time.Second*30*60, getGroupMemberIDList)
|
||||
if err != nil {
|
||||
return nil, utils.Wrap(err, "")
|
||||
}
|
||||
@ -139,7 +139,7 @@ func GetGroupMemberIDListFromCache(groupID string) ([]string, error) {
|
||||
}
|
||||
|
||||
func DelGroupMemberIDListFromCache(userID string) error {
|
||||
err := db.DB.WeakRc.TagAsDeleted(groupCache + userID)
|
||||
err := db.DB.Rc.TagAsDeleted(groupCache + userID)
|
||||
return err
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user