Update AP helpers

This commit is contained in:
Daniel Supernault 2022-06-09 04:19:57 -06:00
parent 1310d95cdb
commit 37f97ccc2d
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -496,7 +496,7 @@ class Helpers {
$status->in_reply_to_id === null &&
$status->reblog_of_id === null &&
in_array($status->type, ['photo', 'photo:album', 'video', 'video:album', 'photo:video:album']) &&
$status->created_at->gt(now()->subHours(config('instance.timeline.network.max_hours_old'))
$status->created_at->gt(now()->subHours(config('instance.timeline.network.max_hours_old')))
) {
NetworkTimelineService::add($status->id);
}