Fix errors in bluesky addon

This commit is contained in:
Art4 2024-11-30 19:27:45 +00:00 committed by Hypolite Petovan
parent 31198294c7
commit cf8a7870f3

View file

@ -683,6 +683,8 @@ function bluesky_create_activity(array $item, stdClass $parent = null)
return; return;
} }
$post = [];
if ($item['verb'] == Activity::LIKE) { if ($item['verb'] == Activity::LIKE) {
$record = [ $record = [
'subject' => $parent, 'subject' => $parent,