From: Sarven Capadisli Date: Wed, 3 Mar 2010 21:26:02 +0000 (-0500) Subject: Returning true instead for group remote subscription. If not logged X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=219e15ac64b0ceefcd714af27b9bbb53123dbe71;p=quix0rs-gnu-social.git Returning true instead for group remote subscription. If not logged in, it gives the chance to use the logged in join/leave instead. --- diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index dc502e52c4..d28260a4aa 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; } /**