mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Merge pull request #4773 from pixelfed/staging
Update AP helpers, fix fanout scope
This commit is contained in:
commit
dfbc453b03
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue