Update AP helpers, fix fanout scope

pull/4773/head
Daniel Supernault 2023-11-15 23:43:57 -07:00
rodzic e1b39bcf6f
commit 33a60e767d
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 23740873EE6F76A1
1 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

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