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

(cherry picked from commit 7cadb43029)

Co-authored-by: Mario <mario@mariovavti.com>
This commit is contained in:
Mario
2025-11-21 06:53:05 +00:00
parent e90fc6d714
commit 3eeb173efd

View File

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