summaryrefslogtreecommitdiff
path: root/classes/Notice.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/Notice.php')
-rw-r--r--classes/Notice.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index 3297c7a59..399879e79 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -1330,24 +1330,38 @@ class Notice extends Memcached_DataObject
foreach ($reply_ids as $id) {
$profile = Profile::staticGet('id', $id);
if (!empty($profile)) {
+ // XXX: Deprecate this for 'mentioned'
$xs->element(
'link', array(
'rel' => 'ostatus:attention',
'href' => $profile->getUri()
)
);
+ $xs->element(
+ 'link', array(
+ 'rel' => 'mentioned',
+ 'href' => $profile->getUri()
+ )
+ );
}
}
$groups = $this->getGroups();
foreach ($groups as $group) {
+ // XXX: Deprecate this for 'mentioned'
$xs->element(
'link', array(
'rel' => 'ostatus:attention',
'href' => $group->permalink()
)
);
+ $xs->element(
+ 'link', array(
+ 'rel' => 'mentioned',
+ 'href' => $group->permalink()
+ )
+ );
}
if (!empty($this->repeat_of)) {