Browse Source

Fix using wrong uid for APDelivery in Worker\Notifier

pull/6487/head
Hypolite Petovan 2 years ago
parent
commit
282bc01994
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Worker/Notifier.php

+ 1
- 1
src/Worker/Notifier.php View File

@ -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