fix insufficient target attribution for forums - channel_url() requires the channel array not the address

This commit is contained in:
Mario
2025-11-20 23:05:12 +00:00
parent 8a79d8d06f
commit 7cadb43029

View File

@@ -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'];