2 import { VideoState } from '@shared/models'
3 import { AbstractOwnedVideoPublication } from './abstract-owned-video-publication'
5 export class OwnedPublicationAfterAutoUnblacklist extends AbstractOwnedVideoPublication {
8 // Don't notify if video is still waiting for transcoding or scheduled update
9 return !!this.payload.ScheduleVideoUpdate || (this.payload.waitTranscoding && this.payload.state !== VideoState.PUBLISHED)