CMPUT301F15T05/cuddly-quack

Can add a friend more than once, this shoudn't happen.

Closed this issue · 1 comments

A possible fix is to check the FriendsList to see if the user is already in there.

Add a method like "public Boolean userInList(User user)"

This is fixed now. The issue was that the check for if a friend exists did not search usernames - but rather searched for a user object within an arrayList of strings.