diff --git a/lib/Model/Member.php b/lib/Model/Member.php index be17d6400..779ed4083 100644 --- a/lib/Model/Member.php +++ b/lib/Model/Member.php @@ -63,10 +63,10 @@ public function inviteToCircle($circleType) { public function joinCircle($circleType) { switch ($circleType) { - case Circle::CIRCLES_SECRET: case Circle::CIRCLES_PUBLIC: return $this->addMemberToCircle(); + case Circle::CIRCLES_SECRET: case Circle::CIRCLES_CLOSED: return $this->joinClosedCircle(); }