From 35ff8781f0a9a46f60ad3f6c28dedb7345899ff2 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 26 Sep 2021 12:15:14 +0000 Subject: always promote the outbox --- Zotlabs/Lib/Activity.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Zotlabs') 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; } -- cgit v1.2.3