Changed parameter for delayed posts

pull/1151/head
Michael 2021-08-06 18:52:44 +00:00
parent 2d4ecd5ccf
commit 20bf1c4f24
2 changed files with 2 additions and 2 deletions

View File

@ -191,5 +191,5 @@ function ifttt_message($uid, $item)
$link = hash('ripemd128', $item['msg']); $link = hash('ripemd128', $item['msg']);
} }
Post\Delayed::add($link, $post, PRIORITY_MEDIUM, true); Post\Delayed::add($link, $post, PRIORITY_MEDIUM, Post\Delayed::UNPREPARED);
} }

View File

@ -1128,7 +1128,7 @@ function twitter_fetchtimeline(App $a, $uid)
Logger::info('Posting mirror post', ['twitter-id' => $post->id_str, 'uid' => $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);
} }
} }
} }