]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
re-add mentioned link lost in last merge
authorEvan Prodromou <evan@status.net>
Tue, 3 Aug 2010 23:01:50 +0000 (16:01 -0700)
committerEvan Prodromou <evan@status.net>
Tue, 3 Aug 2010 23:01:50 +0000 (16:01 -0700)
classes/Notice.php

index 20c9c951815cf685cfdd1d50d3d0b877ce1ca99b..4646fc6aba2778fbb6511a826ca12fc87cf7f0d3 100644 (file)
@@ -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));
         }