Fixes for GroupPrivateMessage, OStatus due to changes in group output events, and some internal bugs using wrong vars

This commit is contained in:
Brion Vibber
2011-03-18 15:00:02 -07:00
parent ab6a168d68
commit a390e3e888
3 changed files with 11 additions and 11 deletions

View File

@@ -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'));