Browse Source

Fix using wrong uid for APDelivery in Worker\Notifier

pull/6487/head
Hypolite Petovan 3 years ago
parent
commit
282bc01994
  1. 2
      src/Worker/Notifier.php

2
src/Worker/Notifier.php

@ -587,7 +587,7 @@ class Notifier
Logger::log('Deliver ' . $target_item['id'] .' to ' . $inbox .' via ActivityPub', Logger::DEBUG);
Worker::add(['priority' => $priority, 'created' => $created, 'dont_fork' => true],
'APDelivery', $cmd, $target_item['id'], $inbox, $target_item['contact-uid']);
'APDelivery', $cmd, $target_item['id'], $inbox, $target_item['contact-uid'] ?: $target_item['uid']);
}
return count($inboxes);

Loading…
Cancel
Save