+ $a = BaseObject::getApp();
+
+ $inboxes = ActivityPub\Transmitter::fetchTargetInboxesforUser($uid);
+
+ foreach ($inboxes as $inbox) {
+ logger('Profile update for user ' . $uid . ' to ' . $inbox .' via ActivityPub', LOGGER_DEBUG);
+ Worker::add(['priority' => $a->queue['priority'], 'created' => $a->queue['created'], 'dont_fork' => true],
+ 'APDelivery', Delivery::PROFILEUPDATE, '', $inbox, $uid);
+ }
+