From: Brion Vibber Date: Thu, 4 Mar 2010 17:24:47 +0000 (-0800) Subject: OStatus: fix for remote group join via non-logged-in 'join' button. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8f1762cb9580c3f444ff5fd53bcefcbab6b54980;p=quix0rs-gnu-social.git OStatus: fix for remote group join via non-logged-in 'join' button. Bad lookup was sending us to the first group instead of the selected group. --- diff --git a/plugins/OStatus/actions/ostatusinit.php b/plugins/OStatus/actions/ostatusinit.php index 1e45025b09..22aea9f709 100644 --- a/plugins/OStatus/actions/ostatusinit.php +++ b/plugins/OStatus/actions/ostatusinit.php @@ -186,7 +186,7 @@ class OStatusInitAction extends Action $this->clientError("No such user."); } } else if ($this->group) { - $group = Local_group::staticGet('id', $this->group); + $group = Local_group::staticGet('nickname', $this->group); if ($group) { return common_local_url('groupbyid', array('id' => $group->group_id)); } else {