diff options
author | Brion Vibber <brion@pobox.com> | 2010-03-03 14:06:05 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-03-03 14:06:05 -0800 |
commit | 628338265c1607000eaffc42418c63092b019720 (patch) | |
tree | 4974d5366407fe6cedc03e3f61bc67c304987e58 /plugins/OStatus/OStatusPlugin.php | |
parent | 4bad1760880b2ec2a2fd0ce8117e26fe12520919 (diff) |
OStatus: fix up remote join button on group profiles
Diffstat (limited to 'plugins/OStatus/OStatusPlugin.php')
-rw-r--r-- | plugins/OStatus/OStatusPlugin.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index ca6786a26..cc7e75976 100644 --- a/plugins/OStatus/OStatusPlugin.php +++ b/plugins/OStatus/OStatusPlugin.php @@ -49,6 +49,8 @@ class OStatusPlugin extends Plugin array('action' => 'ostatusinit')); $m->connect('main/ostatus?nickname=:nickname', array('action' => 'ostatusinit'), array('nickname' => '[A-Za-z0-9_-]+')); + $m->connect('main/ostatus?group=:group', + array('action' => 'ostatusinit'), array('group' => '[A-Za-z0-9_-]+')); $m->connect('main/ostatussub', array('action' => 'ostatussub')); $m->connect('main/ostatusgroup', @@ -217,7 +219,7 @@ class OStatusPlugin extends Plugin if (empty($cur)) { // Add an OStatus subscribe $url = common_local_url('ostatusinit', - array('nickname' => $group->nickname)); + array('group' => $group->nickname)); $output->element('a', array('href' => $url, 'class' => 'entity_remote_subscribe'), _m('Join')); |