mirror of https://github.com/Chocobozzz/PeerTube
Client: remove makeFriend from friend-list (in friend-add now)
parent
beacf6993c
commit
96b0c2bf70
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue