From 20bf1c4f240fadf8b2129208554cbab6a7d948be Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 6 Aug 2021 18:52:44 +0000 Subject: [PATCH] Changed parameter for delayed posts --- ifttt/ifttt.php | 2 +- twitter/twitter.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); } } } -- 2.39.5