Commit 35ff8781 authored by Mario's avatar Mario
Browse files

always promote the outbox

parent 2d17442f
Pipeline #446807 passed with stage
in 3 minutes and 4 seconds
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment