API C FriendList.AddOrRemoveFriend

Adds or removes a player to or from the friends list. C_FriendList.AddOrRemoveFriend("name", "notes")

Arguments

 * name : string - The name of the player to add or remove.
 * notes : string - (Required) The note in the friends frame.

Details

 * If the player is already on your friends list, the player will be removed regardless of whether you pass  as the second argument.