forked from GNUsocial/gnu-social
'type' => 'objectType' for embedded activities
This commit is contained in:
parent
d277f343ca
commit
4a6f576478
@ -435,7 +435,7 @@ class Activity
|
|||||||
if ($object instanceof Activity) {
|
if ($object instanceof Activity) {
|
||||||
// throw in a type
|
// throw in a type
|
||||||
// XXX: hackety-hack
|
// XXX: hackety-hack
|
||||||
$oa['type'] = 'activity';
|
$oa['objectType'] = 'activity';
|
||||||
}
|
}
|
||||||
$activity['object'][] = $oa;
|
$activity['object'][] = $oa;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user