mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-23 09:50:27 +08:00
Refactor code
This commit is contained in:
parent
51cb558317
commit
453eddc089
@ -513,7 +513,7 @@ func hasAccess(req *pbGroup.SetGroupInfoReq) bool {
|
|||||||
return false
|
return false
|
||||||
|
|
||||||
}
|
}
|
||||||
if groupUserInfo.RoleLevel == constant.OrdinaryMember {
|
if groupUserInfo.RoleLevel == constant.GroupAdmin {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user