ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix local video creator crash
Chocobozzzf84ac3ba4136
diff --git a/server/core/lib/local-video-creator.ts b/server/core/lib/local-video-creator.tsindex 1565f8bb08..d025a3e3f6 100644--- a/server/core/lib/local-video-creator.ts+++ b/server/core/lib/local-video-creator.ts@@ -205,7 +205,7 @@ export class LocalVideoCreator {}).catch(err => {// Reset elements to reinsert them in the databasethis.video.isNewRecord = true- this.videoFile.isNewRecord = true+ if (this.videoFile) this.videoFile.isNewRecord = truefor (const t of thumbnails) {t.isNewRecord = true