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.
This commit is contained in:
parent
45f11d9637
commit
8f1762cb95
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user