Fixed "created" origin
authorMichael <heluecht@pirati.ca>
Thu, 24 Jan 2019 00:34:14 +0000 (00:34 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 24 Jan 2019 00:34:14 +0000 (00:34 +0000)
src/Worker/Notifier.php

index ef4e882..512fbe8 100644 (file)
@@ -152,7 +152,7 @@ class Notifier
                if (!empty($target_item) && !empty($items)) {
                        $parent = $items[0];
 
-                       $delivery_queue_count += self::activityPubDelivery($cmd, $target_item, $parent, $a->queue['priority'], defaults($a->query_string, 'created', ''));
+                       $delivery_queue_count += self::activityPubDelivery($cmd, $target_item, $parent, $a->queue['priority'], $a->queue['created']);
 
                        $fields = ['network', 'author-id', 'owner-id'];
                        $condition = ['uri' => $target_item["thr-parent"], 'uid' => $target_item["uid"]];