]> git.mxchange.org Git - friendica-addons.git/commitdiff
Changed parameter for delayed posts
authorMichael <heluecht@pirati.ca>
Fri, 6 Aug 2021 18:52:44 +0000 (18:52 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 6 Aug 2021 18:52:44 +0000 (18:52 +0000)
ifttt/ifttt.php
twitter/twitter.php

index 67ffdd8587bf5fd716ec357b6c3ca8c5d79f9650..fced70d6e1597cef475681262cbac171be09ccd1 100644 (file)
@@ -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);
 }
index 8bc5940cf1ddd2d5b14ac4b4b741654c78156811..b3527d32f161e3f11959fd7a6453325d7ca67a54 100644 (file)
@@ -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);
                        }
                }
        }