forked from GNUsocial/gnu-social
re-add mentioned link lost in last merge
This commit is contained in:
parent
2ba36fc242
commit
e2c90576c0
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user