]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
'type' => 'objectType' for embedded activities
authorEvan Prodromou <evan@status.net>
Mon, 18 Jul 2011 21:42:28 +0000 (17:42 -0400)
committerEvan Prodromou <evan@status.net>
Mon, 18 Jul 2011 21:42:28 +0000 (17:42 -0400)
lib/activity.php

index a4abaf533aa7c26133321a6b9e4040bbed42932c..2b5bfd9822db5b2a2a6566084bae543481fd895e 100644 (file)
@@ -435,7 +435,7 @@ class Activity
                 if ($object instanceof Activity) {
                     // throw in a type
                     // XXX: hackety-hack
-                    $oa['type'] = 'activity';
+                    $oa['objectType'] = 'activity';
                 }
                 $activity['object'][] = $oa;
             }