missing fep400e changes

This commit is contained in:
Mike Macgirvin 2023-07-29 17:28:31 +10:00
parent 25a69b236b
commit 74e27703b3
2 changed files with 8 additions and 0 deletions

View file

@ -1686,6 +1686,7 @@ class Activity
$ret['outbox'] = z_root() . '/outbox/' . $c['channel_address'];
$ret['followers'] = z_root() . '/followers/' . $c['channel_address'];
$ret['following'] = z_root() . '/following/' . $c['channel_address'];
$ret['wall'] = z_root() . '/outbox/' . $c['channel_address'];
$ret['endpoints'] = [
'sharedInbox' => z_root() . '/inbox',

View file

@ -964,6 +964,13 @@ class Item extends Controller
$groupww = true;
$str_contact_allow = $owner_xchan['xchan_hash'];
$str_group_allow = '';
$datarray['target'] = [
'id' => z_root() . '/outbox/' . $channel['channel_address'],
'type' => 'Collection',
'attributedTo' => ((in_array($owner_xchan['xchan_network'], ['zot6', 'nomad'])) ? $owner_xchan['xchan_url'] : $owner_xchan['xchan_hash'])
];
$datarray['tgt_type'] = 'Collection';
}
if (!strlen($verb)) {