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

pull/10/head
Chocobozzz 2016-08-21 11:36:43 +02:00
parent beacf6993c
commit 96b0c2bf70
1 changed files with 0 additions and 13 deletions

View File

@ -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;