]>
Commit | Line | Data |
---|---|---|
d26836cd C |
1 | import { VideoState } from '@shared/models' |
2 | import { AbstractOwnedVideoPublication } from './abstract-owned-video-publication' | |
3 | ||
4 | export 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 | } |