From: Michael Date: Fri, 6 Aug 2021 18:52:44 +0000 (+0000) Subject: Changed parameter for delayed posts X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=20bf1c4f240fadf8b2129208554cbab6a7d948be;p=friendica-addons.git Changed parameter for delayed posts --- diff --git a/ifttt/ifttt.php b/ifttt/ifttt.php index 67ffdd85..fced70d6 100644 --- a/ifttt/ifttt.php +++ b/ifttt/ifttt.php @@ -191,5 +191,5 @@ function ifttt_message($uid, $item) $link = hash('ripemd128', $item['msg']); } - Post\Delayed::add($link, $post, PRIORITY_MEDIUM, true); + Post\Delayed::add($link, $post, PRIORITY_MEDIUM, Post\Delayed::UNPREPARED); } diff --git a/twitter/twitter.php b/twitter/twitter.php index 8bc5940c..b3527d32 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -1128,7 +1128,7 @@ function twitter_fetchtimeline(App $a, $uid) Logger::info('Posting mirror post', ['twitter-id' => $post->id_str, 'uid' => $uid]); - Post\Delayed::add($mirrorpost['extid'], $mirrorpost, PRIORITY_MEDIUM, true); + Post\Delayed::add($mirrorpost['extid'], $mirrorpost, PRIORITY_MEDIUM, Post\Delayed::UNPREPARED); } } }