Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Client: remove makeFriend from friend-list (in friend-add now)

Chocobozzz96b0c2bf708a
diff --git a/client/src/app/admin/friends/friend-list/friend-list.component.ts b/client/src/app/admin/friends/friend-list/friend-list.component.ts
index aa92c1b1e2..379d44c975 100644
--- a/client/src/app/admin/friends/friend-list/friend-list.component.ts
+++ b/client/src/app/admin/friends/friend-list/friend-list.component.ts
@@ -22,19 +22,6 @@ export class FriendListComponent implements OnInit {
);
}
- makeFriends() {
- this.friendService.makeFriends().subscribe(
- status => {
- if (status === 409) {
- alert('Already made friends!');
- } else {
- alert('Made friends!');
- }
- },
- error => alert(error)
- );
- }
-
quitFriends() {
if (!confirm('Are you sure?')) return;