]>
Commit | Line | Data |
---|---|---|
d26836cd C |
1 | |
2 | import { VideoState } from '@shared/models' | |
3 | import { AbstractOwnedVideoPublication } from './abstract-owned-video-publication' | |
4 | ||
5 | export class OwnedPublicationAfterAutoUnblacklist extends AbstractOwnedVideoPublication { | |
6 | ||
7 | isDisabled () { | |
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) | |
10 | } | |
11 | } |