1 import { VideoState } from '@shared/models'
2 import { AbstractOwnedVideoPublication } from './abstract-owned-video-publication'
4 export class OwnedPublicationAfterScheduleUpdate extends AbstractOwnedVideoPublication {
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)