From 78dc08bc1ab70e7e91d88d89bab652f0c3761685 Mon Sep 17 00:00:00 2001 From: Severin Date: Fri, 30 Jan 2026 09:59:44 +0100 Subject: [PATCH] Add thumbnail generation to federated content --- app/Jobs/Federation/ProcessRemoteVideoJob.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Jobs/Federation/ProcessRemoteVideoJob.php b/app/Jobs/Federation/ProcessRemoteVideoJob.php index 969054ab..33ec68da 100644 --- a/app/Jobs/Federation/ProcessRemoteVideoJob.php +++ b/app/Jobs/Federation/ProcessRemoteVideoJob.php @@ -3,6 +3,7 @@ namespace App\Jobs\Federation; use App\Federation\Audience; +use App\Jobs\Video\VideoThumbnailJob; use App\Models\Profile; use App\Models\Video; use App\Services\SanitizeService; @@ -117,6 +118,8 @@ public function handle(): void $video->syncHashtagsFromCaption(); $video->syncMentionsFromCaption(); } + // Dispatch thumbnail generation for federated videos + VideoThumbnailJob::dispatch($video); } catch (Throwable $e) { $this->handleFailure($e, $video, $remoteUrl);