mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
Update entities.go
This commit is contained in:
parent
a35c443589
commit
e5f56b5be4
@ -301,7 +301,7 @@ func (m *GroupMemberInfo) Manageable() bool {
|
||||
if self == Member || m.Permission == Owner {
|
||||
return false
|
||||
}
|
||||
return m.Permission != Administrator
|
||||
return m.Permission != Administrator || self == Owner
|
||||
}
|
||||
|
||||
func (r *UserJoinGroupRequest) Accept() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user