mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 00:55:19 +00:00
missing fep400e changes
This commit is contained in:
parent
25a69b236b
commit
74e27703b3
2 changed files with 8 additions and 0 deletions
|
@ -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',
|
||||
|
|
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue