From: Evan Prodromou Date: Tue, 3 Aug 2010 23:01:50 +0000 (-0700) Subject: re-add mentioned link lost in last merge X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e2c90576c0e50ccaa2b70c4d72ad06f320842f73;p=quix0rs-gnu-social.git re-add mentioned link lost in last merge --- 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)); }