1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-05 19:43:50 +08:00

Update entities.go

This commit is contained in:
wdvxdr1123 2020-09-15 14:29:37 +08:00 committed by GitHub
parent a35c443589
commit e5f56b5be4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -301,7 +301,7 @@ func (m *GroupMemberInfo) Manageable() bool {
if self == Member || m.Permission == Owner { if self == Member || m.Permission == Owner {
return false return false
} }
return m.Permission != Administrator return m.Permission != Administrator || self == Owner
} }
func (r *UserJoinGroupRequest) Accept() { func (r *UserJoinGroupRequest) Accept() {