ActivityPub-federated video streaming platform using P2P directly in your web browser
Cannot download a live
Chocobozzz5f153b9d8566
diff --git a/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts b/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.tsindex d5249e13b8..337629cb5f 100644--- a/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts+++ b/client/src/app/shared/shared-video-miniature/video-actions-dropdown.component.ts@@ -213,6 +213,8 @@ export class VideoActionsDropdownComponent implements OnChanges {return this.video.canGenerateTranscription(this.user, this.serverService.getHTMLConfig().videoTranscription.enabled)}+ // ---------------------------------------------------------------------------+isVideoDownloadableByAnonymous () {return (this.video &&@@ -222,6 +224,16 @@ export class VideoActionsDropdownComponent implements OnChanges {)}+ isVideoDownloadableByUser () {+ return (+ this.video &&+ this.video.isLive !== true &&+ this.video.isOwnerOrHasSeeAllVideosRight(this.user)+ )+ }++ // ---------------------------------------------------------------------------+canVideoBeDuplicated () {return !this.video.isLive && this.video.canBeDuplicatedBy(this.user)}@@ -395,7 +407,7 @@ export class VideoActionsDropdownComponent implements OnChanges {isDisplayed: () => {if (!this.displayOptions.download) return false- return this.isVideoDownloadableByAnonymous() || this.video.isOwnerOrHasSeeAllVideosRight(this.user)+ return this.isVideoDownloadableByAnonymous() || this.isVideoDownloadableByUser()},iconName: 'download',ownerOrModeratorPrivilege: () => {