added hooks `action:groups.join` and `action:groups.leave`