1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 08:14:10 +00:00

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);
}