diff options
author | zotlabs <mike@macgirvin.com> | 2020-03-24 18:26:20 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2020-03-24 18:26:20 -0700 |
commit | a3acec96745f90443de84d8503334b3a204436fb (patch) | |
tree | 29010c6623162d04708102b0cb3c9458a07bf436 /Zotlabs | |
parent | 8f5cb0c45a4aa2011933087f86333c60a77c3e0f (diff) | |
download | volse-hubzilla-a3acec96745f90443de84d8503334b3a204436fb.tar.gz volse-hubzilla-a3acec96745f90443de84d8503334b3a204436fb.tar.bz2 volse-hubzilla-a3acec96745f90443de84d8503334b3a204436fb.zip |
issue 1454 - some photo item ActivityStreams links not returning json-ld; requires related fixes in addons/pubcrawl
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Lib/Activity.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 02ec7614e..c50606d4f 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -323,6 +323,11 @@ class Activity { return $ret; } + + if ($i['obj']) { + $ret = Activity::encode_object($i['obj']); + } + $ret['type'] = $objtype; if ($objtype === 'Question') { |