forked from GNUsocial/gnu-social
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:
parent
6ff994b14c
commit
219e15ac64
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user