issue with poll encoding

This commit is contained in:
zotlabs 2020-02-05 17:45:48 -08:00
parent e139698571
commit f4ff3aea2d

View file

@ -681,6 +681,17 @@ class Activity {
$ret['type'] = $objtype;
if ($objtype === 'Question') {
if ($i['obj']) {
if (is_array($i['obj'])) {
$ret = $i['obj'];
}
else {
$ret = json_decode($i['obj'],true);
}
}
}
/**
* If the destination is activitypub, see if the content needs conversion to