summaryrefslogtreecommitdiff
path: root/plugins/OStatus/actions
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-03-04 09:24:47 -0800
committerBrion Vibber <brion@pobox.com>2010-03-04 09:24:47 -0800
commit8f1762cb9580c3f444ff5fd53bcefcbab6b54980 (patch)
tree70211a253fad48adcb362bdeae12f83e81e3642b /plugins/OStatus/actions
parent45f11d9637c90c0bc7348c6bc5707516ea457d6c (diff)
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.
Diffstat (limited to 'plugins/OStatus/actions')
-rw-r--r--plugins/OStatus/actions/ostatusinit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/OStatus/actions/ostatusinit.php b/plugins/OStatus/actions/ostatusinit.php
index 1e45025b0..22aea9f70 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 {