Don't call mod/item.php anymore

This commit is contained in:
Michael 2022-11-23 06:25:28 +00:00
parent fc3222cd2d
commit 7338b5de59
4 changed files with 21 additions and 49 deletions

View file

@ -1337,7 +1337,7 @@ function twitter_fetchtimeline(App $a, int $uid): void
Logger::info('Posting mirror post', ['twitter-id' => $post->id_str, 'uid' => $uid]);
Post\Delayed::add($mirrorpost['extid'], $mirrorpost, Worker::PRIORITY_MEDIUM, Post\Delayed::UNPREPARED);
Post\Delayed::add($mirrorpost['extid'], $mirrorpost, Worker::PRIORITY_MEDIUM, Post\Delayed::PREPARED);
}
}
DI::pConfig()->set($uid, 'twitter', 'lastid', $lastid);