]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Feed.php
Replace IHTTPResult for CurlResult usages
[friendica.git] / src / Protocol / Feed.php
index 69ca1bfce29f767e5df363183218cb8320b9d6ad..0801498f21f1cc5c166a92c216a9ca8a07945cdf 100644 (file)
@@ -601,7 +601,7 @@ class Feed
                                }
                                $publish_at = date(DateTimeFormat::MYSQL, $publish_time);
 
-                               if (Post\Delayed::add($posting['item']['uri'], $posting['item'], $posting['notify'], false, $publish_at, $posting['taglist'], $posting['attachments'])) {
+                               if (Post\Delayed::add($posting['item']['uri'], $posting['item'], $posting['notify'], Post\Delayed::PREPARED, $publish_at, $posting['taglist'], $posting['attachments'])) {
                                        DI::pConfig()->set($item['uid'], 'system', 'last_publish', $publish_time);
                                }
                        }