]>
Commit | Line | Data |
---|---|---|
1 | import { AbstractOwnedVideoPublication } from './abstract-owned-video-publication' | |
2 | ||
3 | export class OwnedPublicationAfterTranscoding extends AbstractOwnedVideoPublication { | |
4 | ||
5 | isDisabled () { | |
6 | // Don't notify if didn't wait for transcoding or video is still blacklisted/waiting for scheduled update | |
7 | return !this.payload.waitTranscoding || !!this.payload.VideoBlacklist || !!this.payload.ScheduleVideoUpdate | |
8 | } | |
9 | } |