aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-09-26 12:15:14 +0000
committerMario <mario@mariovavti.com>2021-09-26 12:15:14 +0000
commit35ff8781f0a9a46f60ad3f6c28dedb7345899ff2 (patch)
tree7305189111452aaf802289146365b3f0e7a712e5 /Zotlabs/Lib
parent2d17442f2885b43d0430767b3d50d616de9a453c (diff)
downloadvolse-hubzilla-35ff8781f0a9a46f60ad3f6c28dedb7345899ff2.tar.gz
volse-hubzilla-35ff8781f0a9a46f60ad3f6c28dedb7345899ff2.tar.bz2
volse-hubzilla-35ff8781f0a9a46f60ad3f6c28dedb7345899ff2.zip
always promote the outbox
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/Activity.php5
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;
}