]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Returning true instead for group remote subscription. If not logged
authorSarven Capadisli <csarven@status.net>
Wed, 3 Mar 2010 21:26:02 +0000 (16:26 -0500)
committerSarven Capadisli <csarven@status.net>
Wed, 3 Mar 2010 21:26:02 +0000 (16:26 -0500)
in, it gives the chance to use the logged in join/leave instead.

plugins/OStatus/OStatusPlugin.php

index dc502e52c416ce926a5e5e2178c6cca256611b75..d28260a4aa62cc194dc48356ef7af4a0bce5e929 100644 (file)
@@ -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;
     }
 
     /**