]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/activity.php
Reworked the ActivityContext->attention structure
[quix0rs-gnu-social.git] / lib / activity.php
index eaa7cf1c2d499b0a55915d4d229ff7fb6eeb0671..8be37c568166269d9c7e5322a00c6ed681a5b5f9 100644 (file)
@@ -626,8 +626,9 @@ class Activity
                                            'href' => $this->context->conversation));
             }
 
-            foreach ($this->context->attention as $attnURI) {
+            foreach ($this->context->attention as $attnURI=>$type) {
                 $xs->element('link', array('rel' => ActivityContext::MENTIONED,
+                                           ActivityContext::OBJECTTYPE => $type,  // FIXME: undocumented 
                                            'href' => $attnURI));
             }