Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Him188 committed Apr 10, 2020
1 parent 8a097bf commit 3f12216
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 3f12216

Please sign in to comment.