mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-12 17:44:31 +00:00
Update AP helpers
This commit is contained in:
parent
1310d95cdb
commit
37f97ccc2d
1 changed files with 1 additions and 1 deletions
|
@ -496,7 +496,7 @@ class Helpers {
|
||||||
$status->in_reply_to_id === null &&
|
$status->in_reply_to_id === null &&
|
||||||
$status->reblog_of_id === null &&
|
$status->reblog_of_id === null &&
|
||||||
in_array($status->type, ['photo', 'photo:album', 'video', 'video:album', 'photo:video:album']) &&
|
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);
|
NetworkTimelineService::add($status->id);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue