diff options
author | zotlabs <mike@macgirvin.com> | 2019-01-27 12:38:51 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2019-01-27 12:38:51 -0800 |
commit | 94cbc8bd3160bf644b02ef97268244869b7a9f5b (patch) | |
tree | 1ee08b50ddd621969a574ea4b046ab6ec9293206 /Zotlabs/Lib/Activity.php | |
parent | 535f0f45c9dbeb737d5bc888ccbd95fd01fb6e43 (diff) | |
download | volse-hubzilla-94cbc8bd3160bf644b02ef97268244869b7a9f5b.tar.gz volse-hubzilla-94cbc8bd3160bf644b02ef97268244869b7a9f5b.tar.bz2 volse-hubzilla-94cbc8bd3160bf644b02ef97268244869b7a9f5b.zip |
share fixes
Diffstat (limited to 'Zotlabs/Lib/Activity.php')
-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 03f094983..8cfa18997 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -411,6 +411,11 @@ class Activity { $ret['type'] = 'Tombstone'; $ret['formerType'] = self::activity_obj_mapper($i['obj_type']); $ret['id'] = ((strpos($i['mid'],'http') === 0) ? $i['mid'] : z_root() . '/item/' . urlencode($i['mid'])); + $actor = self::encode_person($i['author'],false); + if($actor) + $ret['actor'] = $actor; + else + return []; return $ret; } |