diff options
author | Sarven Capadisli <csarven@status.net> | 2010-03-03 16:26:02 -0500 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2010-03-03 16:26:02 -0500 |
commit | 219e15ac64b0ceefcd714af27b9bbb53123dbe71 (patch) | |
tree | 602bf0097ea9652348283ec13a9b9817d79da89c /plugins/OStatus/OStatusPlugin.php | |
parent | 6ff994b14c93c51f1af1a52d568ffb3391d9c6db (diff) |
Returning true instead for group remote subscription. If not logged
in, it gives the chance to use the logged in join/leave instead.
Diffstat (limited to 'plugins/OStatus/OStatusPlugin.php')
-rw-r--r-- | plugins/OStatus/OStatusPlugin.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index dc502e52c..d28260a4a 100644 --- a/plugins/OStatus/OStatusPlugin.php +++ b/plugins/OStatus/OStatusPlugin.php @@ -216,17 +216,14 @@ class OStatusPlugin extends Plugin if (empty($cur)) { // Add an OStatus subscribe - $output->elementStart('li', 'entity_subscribe'); $url = common_local_url('ostatusinit', array('nickname' => $group->nickname)); $output->element('a', array('href' => $url, 'class' => 'entity_remote_subscribe'), _m('Join')); - - $output->elementEnd('li'); } - return false; + return true; } /** |