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

This commit is contained in:
Chocobozzz 2016-08-21 11:36:43 +02:00
parent beacf6993c
commit 96b0c2bf70

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() { quitFriends() {
if (!confirm('Are you sure?')) return; if (!confirm('Are you sure?')) return;