re-add mentioned link lost in last merge

This commit is contained in:
Evan Prodromou 2010-08-03 16:01:50 -07:00
parent 2ba36fc242
commit e2c90576c0
1 changed files with 4 additions and 0 deletions

View File

@ -1454,6 +1454,8 @@ class Notice extends Memcached_DataObject
foreach ($replyProfiles as $profile) {
$xs->element('link', array('rel' => 'ostatus:attention',
'href' => $profile->getUri()));
$xs->element('link', array('rel' => 'mentioned',
'href' => $profile->getUri()));
}
Event::handle('EndActivityAttentionProfiles', array(&$this, &$xs, $replyProfiles));
}
@ -1464,6 +1466,8 @@ class Notice extends Memcached_DataObject
foreach ($groups as $group) {
$xs->element('link', array('rel' => 'ostatus:attention',
'href' => $group->permalink()));
$xs->element('link', array('rel' => 'mentioned',
'href' => $group->permalink()));
}
Event::handle('EndActivityAttentionGroups', array(&$this, &$xs, $groups));
}