forked from GNUsocial/gnu-social
Fixes for GroupPrivateMessage, OStatus due to changes in group output events, and some internal bugs using wrong vars
This commit is contained in:
@@ -228,7 +228,7 @@ class OStatusPlugin extends Plugin
|
||||
return false;
|
||||
}
|
||||
|
||||
function onStartGroupSubscribe($output, $group)
|
||||
function onStartGroupSubscribe($widget, $group)
|
||||
{
|
||||
$cur = common_current_user();
|
||||
|
||||
@@ -236,7 +236,7 @@ class OStatusPlugin extends Plugin
|
||||
// Add an OStatus subscribe
|
||||
$url = common_local_url('ostatusinit',
|
||||
array('group' => $group->nickname));
|
||||
$output->element('a', array('href' => $url,
|
||||
$widget->out->element('a', array('href' => $url,
|
||||
'class' => 'entity_remote_subscribe'),
|
||||
// TRANS: Link description for link to join a remote group.
|
||||
_m('Join'));
|
||||
|
Reference in New Issue
Block a user