diff --git a/server/core/lib/activitypub/videos/updater.ts b/server/core/lib/activitypub/videos/updater.ts index a004da67d..a8d1558fb 100644 --- a/server/core/lib/activitypub/videos/updater.ts +++ b/server/core/lib/activitypub/videos/updater.ts @@ -49,15 +49,11 @@ export class APVideoUpdater extends APVideoAbstractBuilder { try { const channelActor = await this.getOrCreateVideoChannelFromVideoObject() - const thumbnailModel = await this.setThumbnail(this.video) - this.checkChannelUpdateOrThrow(channelActor) const oldState = this.video.state const videoUpdated = await this.updateVideo(channelActor.VideoChannel, undefined, overrideTo) - if (thumbnailModel) await videoUpdated.addAndSaveThumbnail(thumbnailModel) - await runInReadCommittedTransaction(async t => { await this.setWebVideoFiles(videoUpdated, t) await this.setStreamingPlaylists(videoUpdated, t)