From 53c06121a45a2ec943002833a0152bbfd4856ee4 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 18 Feb 2021 14:06:12 +0100 Subject: Fix import tests --- server/lib/thumbnail.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/lib/thumbnail.ts') diff --git a/server/lib/thumbnail.ts b/server/lib/thumbnail.ts index e37aefc85..06066f910 100644 --- a/server/lib/thumbnail.ts +++ b/server/lib/thumbnail.ts @@ -74,7 +74,7 @@ function createVideoMiniatureFromUrl (options: { ? existingThumbnail.fileUrl : null - // If the thumbnail URL did not change and has a unique filename (introduced in 3.2), avoid thumbnail processing + // If the thumbnail URL did not change and has a unique filename (introduced in 3.1), avoid thumbnail processing const thumbnailUrlChanged = !existingUrl || existingUrl !== downloadUrl || downloadUrl.endsWith(`${video.uuid}.jpg`) // Do not change the thumbnail filename if the file did not change -- cgit v1.2.3