New event for Salmon including target

This commit is contained in:
Evan Prodromou
2010-12-27 10:51:59 -08:00
parent 4777c927ad
commit b54ea6767a
3 changed files with 9 additions and 1 deletions

View File

@@ -47,6 +47,9 @@ class GroupsalmonAction extends SalmonAction
$this->clientError(_m('No such group.'));
}
$this->target = $this->group;
$oprofile = Ostatus_profile::staticGet('group_id', $id);
if ($oprofile) {
// TRANS: Client error.