aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/notifier/shared/video-publication/owned-publication-after-schedule-update.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/notifier/shared/video-publication/owned-publication-after-schedule-update.ts')
-rw-r--r--server/lib/notifier/shared/video-publication/owned-publication-after-schedule-update.ts10
1 files changed, 0 insertions, 10 deletions
diff --git a/server/lib/notifier/shared/video-publication/owned-publication-after-schedule-update.ts b/server/lib/notifier/shared/video-publication/owned-publication-after-schedule-update.ts
deleted file mode 100644
index 2e253b358..000000000
--- a/server/lib/notifier/shared/video-publication/owned-publication-after-schedule-update.ts
+++ /dev/null
@@ -1,10 +0,0 @@
1import { VideoState } from '@shared/models'
2import { AbstractOwnedVideoPublication } from './abstract-owned-video-publication'
3
4export class OwnedPublicationAfterScheduleUpdate extends AbstractOwnedVideoPublication {
5
6 isDisabled () {
7 // Don't notify if video is still blacklisted or waiting for transcoding
8 return !!this.payload.VideoBlacklist || (this.payload.waitTranscoding && this.payload.state !== VideoState.PUBLISHED)
9 }
10}