mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Fix redundancy federation in some cases
This commit is contained in:
@@ -651,7 +651,9 @@ export class VideoRedundancyModel extends Model {
|
||||
getVideo () {
|
||||
if (this.VideoFile) return this.VideoFile.Video
|
||||
|
||||
return this.VideoStreamingPlaylist.Video
|
||||
if (this.VideoStreamingPlaylist.Video) return this.VideoStreamingPlaylist.Video
|
||||
|
||||
return undefined
|
||||
}
|
||||
|
||||
isOwned () {
|
||||
|
||||
Reference in New Issue
Block a user