Can add a friend more than once, this shoudn't happen.
Closed this issue · 1 comments
nettapper commented
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)"
adrianomarini commented
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.