]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/video/modals/video-download.component.ts
Remove magnetURI download support
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / video / modals / video-download.component.ts
index a07560f8761756552d172689f5844d21160d7abd..16f3621b4adf940619aa49a139b1cbe3d35ef9e8 100644 (file)
@@ -12,7 +12,7 @@ import { Notifier } from '@app/core'
 export class VideoDownloadComponent {
   @ViewChild('modal') modal: ElementRef
 
-  downloadType: 'direct' | 'torrent' | 'magnet' = 'torrent'
+  downloadType: 'direct' | 'torrent' = 'torrent'
   resolutionId: number | string = -1
 
   video: VideoDetails
@@ -57,9 +57,6 @@ export class VideoDownloadComponent {
 
       case 'torrent':
         return file.torrentDownloadUrl
-
-      case 'magnet':
-        return file.magnetUri
     }
   }