Fix build

This commit is contained in:
Him188 2020-04-10 23:43:59 +08:00
parent 8a097bf435
commit 3f1221699d

View File

@ -148,7 +148,9 @@ internal class OnlinePush {
return BotGroupPermissionChangeEvent(
group,
group.botPermission.also { group.botPermission = newPermission },
group.botPermission.also {
group.botAsMember.checkIsMemberImpl().permission = newPermission
},
newPermission
)
} else {