]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/admin/friends/friend-add/friend-add.component.ts
Server: set manually the post host of a remote video throught the
[github/Chocobozzz/PeerTube.git] / client / src / app / admin / friends / friend-add / friend-add.component.ts
index 86b018de25333984059a686a4382639ec61321df..22b0241b4274c35aba18b0c5e6cff0b08012238e 100644 (file)
@@ -27,6 +27,10 @@ export class FriendAddComponent implements OnInit {
     this.hosts.push('');
   }
 
+  canMakeFriends() {
+    return window.location.protocol === 'https:';
+  }
+
   customTrackBy(index: number, obj: any): any {
     return index;
   }