diff options
author | Evan Prodromou <evan@status.net> | 2010-08-03 16:01:50 -0700 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-08-03 16:01:50 -0700 |
commit | e2c90576c0e50ccaa2b70c4d72ad06f320842f73 (patch) | |
tree | 48b26cb328af8e383fbd737adb965281a595b710 | |
parent | 2ba36fc2428ed41d74e123d49de38accc48415e3 (diff) |
re-add mentioned link lost in last merge
-rw-r--r-- | classes/Notice.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/Notice.php b/classes/Notice.php index 20c9c9518..4646fc6ab 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)); } |