diff options
Diffstat (limited to 'Zotlabs/Lib/Activity.php')
-rw-r--r-- | Zotlabs/Lib/Activity.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index fe1e89851..6c06135ec 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -1103,6 +1103,10 @@ class Activity { 'publicKeyPem' => $p['xchan_pubkey'] ]; + if ($c) { + $ret['outbox'] = z_root() . '/outbox/' . $c['channel_address']; + } + $arr = [ 'xchan' => $p, 'encoded' => $ret @@ -1111,7 +1115,6 @@ class Activity { call_hooks('encode_person', $arr); $ret = $arr['encoded']; - return $ret; } |