From e2c90576c0e50ccaa2b70c4d72ad06f320842f73 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 3 Aug 2010 16:01:50 -0700 Subject: [PATCH] re-add mentioned link lost in last merge --- classes/Notice.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/classes/Notice.php b/classes/Notice.php index 20c9c95181..4646fc6aba 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -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)); } -- 2.39.5