+ $local = Local_group::getKV('nickname', $this->nickname);
+
+ if (!$local) {
+ // TRANS: Client error displayed when requesting Friends of a Friend feed for a non-local group.
+ $this->clientError(_('No such group.'), 404);
+ }
+
+ $this->group = User_group::getKV('id', $local->group_id);