Merge pull request #4773 from pixelfed/staging

Update AP helpers, fix fanout scope
This commit is contained in:
daniel 2023-11-15 23:44:23 -07:00 committed by GitHub
commit dfbc453b03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -538,7 +538,11 @@ class Helpers {
IncrementPostCount::dispatch($pid)->onQueue('low');
FeedInsertRemotePipeline::dispatch($status->id, $pid)->onQueue('feed');
if( $status->in_reply_to_id === null &&
in_array($status->type, ['photo', 'photo:album', 'video', 'video:album', 'photo:video:album'])
) {
FeedInsertRemotePipeline::dispatch($status->id, $pid)->onQueue('feed');
}
return $status;
}