Returning true instead for group remote subscription. If not logged

in, it gives the chance to use the logged in join/leave instead.
This commit is contained in:
Sarven Capadisli 2010-03-03 16:26:02 -05:00
parent 6ff994b14c
commit 219e15ac64

View File

@ -216,17 +216,14 @@ class OStatusPlugin extends Plugin
if (empty($cur)) { if (empty($cur)) {
// Add an OStatus subscribe // Add an OStatus subscribe
$output->elementStart('li', 'entity_subscribe');
$url = common_local_url('ostatusinit', $url = common_local_url('ostatusinit',
array('nickname' => $group->nickname)); array('nickname' => $group->nickname));
$output->element('a', array('href' => $url, $output->element('a', array('href' => $url,
'class' => 'entity_remote_subscribe'), 'class' => 'entity_remote_subscribe'),
_m('Join')); _m('Join'));
$output->elementEnd('li');
} }
return false; return true;
} }
/** /**