summaryrefslogtreecommitdiff
path: root/plugins/OStatus
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-03-03 16:26:02 -0500
committerSarven Capadisli <csarven@status.net>2010-03-03 16:26:02 -0500
commit219e15ac64b0ceefcd714af27b9bbb53123dbe71 (patch)
tree602bf0097ea9652348283ec13a9b9817d79da89c /plugins/OStatus
parent6ff994b14c93c51f1af1a52d568ffb3391d9c6db (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')
-rw-r--r--plugins/OStatus/OStatusPlugin.php5
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;
}
/**