aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/activitypub
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/activitypub')
-rw-r--r--server/lib/activitypub/videos.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/lib/activitypub/videos.ts b/server/lib/activitypub/videos.ts
index 9ca0502a4..66d0abf35 100644
--- a/server/lib/activitypub/videos.ts
+++ b/server/lib/activitypub/videos.ts
@@ -180,8 +180,7 @@ async function getOrCreateVideoAndAccountAndChannel (options: {
180 180
181 let videoFromDatabase = await fetchVideoByUrl(videoUrl, fetchType) 181 let videoFromDatabase = await fetchVideoByUrl(videoUrl, fetchType)
182 if (videoFromDatabase) { 182 if (videoFromDatabase) {
183 183 if (videoFromDatabase.isOutdated() && allowRefresh === true) {
184 if (allowRefresh === true) {
185 const refreshOptions = { 184 const refreshOptions = {
186 video: videoFromDatabase, 185 video: videoFromDatabase,
187 fetchedType: fetchType, 186 fetchedType: fetchType,