From 386e64d5e86e00d85a6a057ae7915d32ac65d250 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 12 Nov 2023 23:52:44 -0700 Subject: [PATCH] Update StatusEntityLexer, skip reblogs on FeedInsertPipeline --- app/Jobs/StatusPipeline/StatusEntityLexer.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/Jobs/StatusPipeline/StatusEntityLexer.php b/app/Jobs/StatusPipeline/StatusEntityLexer.php index 0a913d793..76d2d98d0 100644 --- a/app/Jobs/StatusPipeline/StatusEntityLexer.php +++ b/app/Jobs/StatusPipeline/StatusEntityLexer.php @@ -160,7 +160,10 @@ class StatusEntityLexer implements ShouldQueue $status = $this->status; if(config('exp.cached_home_timeline')) { - if($status->in_reply_to_id == null && in_array($status->scope, ['public', 'unlisted', 'private'])) { + if( $status->in_reply_to_id === null && + $status->reblog_of_id === null && + in_array($status->scope, ['public', 'unlisted', 'private']) + ) { FeedInsertPipeline::dispatch($status->id, $status->profile_id)->onQueue('feed'); } }