mirror of https://github.com/pixelfed/pixelfed.git
Update AP helpers, fix fanout scope
This commit is contained in:
parent
e1b39bcf6f
commit
33a60e767d
|
@ -538,7 +538,11 @@ class Helpers {
|
||||||
|
|
||||||
IncrementPostCount::dispatch($pid)->onQueue('low');
|
IncrementPostCount::dispatch($pid)->onQueue('low');
|
||||||
|
|
||||||
|
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');
|
FeedInsertRemotePipeline::dispatch($status->id, $pid)->onQueue('feed');
|
||||||
|
}
|
||||||
|
|
||||||
return $status;
|
return $status;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue