mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 00:35:30 +00:00
more testing
This commit is contained in:
parent
97ef0244f6
commit
d710cfe2df
1 changed files with 1 additions and 1 deletions
|
@ -3300,7 +3300,7 @@ class Activity
|
|||
}
|
||||
// We shouldn't need to store collection contents which could be large. We will often only require the meta-data
|
||||
if (isset($item['tgt_type']) && str_contains($item['tgt_type'], 'Collection')) {
|
||||
$item['target'] = ['id' => $act->tgt['id'], 'type' => $item['tgt_type'], 'attributedTo' => ((isset($act->tgt['attributedTo'])) ? $act->get_actor('attributedTo', $act->tgt) : $act->get_actor('actor', $act->tgt))];
|
||||
$item['target'] = ['id' => $act->tgt['id'], 'type' => $item['tgt_type'], 'attributedTo' => $act->tgt['attributedTo'] ?? $act->tgt['actor']];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue