mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
fix insufficient target attribution for forums - channel_url() requires the channel array not the address
This commit is contained in:
@@ -3415,7 +3415,7 @@ function start_delivery_chain($channel, $item, $item_id, $parent, $group = false
|
||||
$arr['target'] = [
|
||||
'id' => str_replace('/item/', '/conversation/', $arr['parent_mid']),
|
||||
'type' => 'Collection',
|
||||
'attributedTo' => channel_url($channel['channel_address'])
|
||||
'attributedTo' => channel_url($channel)
|
||||
];
|
||||
|
||||
$arr['term'] = $item['term'];
|
||||
|
||||
Reference in New Issue
Block a user