mirror of https://github.com/Chocobozzz/PeerTube
10 lines
417 B
TypeScript
10 lines
417 B
TypeScript
|
import { AbstractOwnedVideoPublication } from './abstract-owned-video-publication'
|
||
|
|
||
|
export class OwnedPublicationAfterTranscoding extends AbstractOwnedVideoPublication {
|
||
|
|
||
|
isDisabled () {
|
||
|
// Don't notify if didn't wait for transcoding or video is still blacklisted/waiting for scheduled update
|
||
|
return !this.payload.waitTranscoding || !!this.payload.VideoBlacklist || !!this.payload.ScheduleVideoUpdate
|
||
|
}
|
||
|
}
|