mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-02 18:34:29 +08:00
fix: fix the checkAdminV3
This commit is contained in:
parent
f971a8ba54
commit
b9860563b5
@ -38,7 +38,7 @@ func CheckAccessV3(ctx context.Context, ownerUserID string) (err error) {
|
||||
if utils.IsContain(opUserID, config.Config.Manager.UserID) {
|
||||
return nil
|
||||
}
|
||||
if utils.IsContain(opUserID, config.Config.Manager.UserID) {
|
||||
if utils.IsContain(opUserID, config.Config.IMAdmin.UserID) {
|
||||
return nil
|
||||
}
|
||||
if opUserID == ownerUserID {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user