In my code,
A remove B
In A friend list, B is removed
In B friend list, A is still here
I want to do:
A remove B
In A friend list, B is removed
In B friend list, A is removed
The code is shown as below. Thanks.
private void HandleRemoveFriend(string name){ string id = friends.FirstOrDefault(f =>f.TitleDisplayName == name).FriendPlayFabId; var request = new RemoveFriendRequest{ FriendPlayFabId = id}; PlayFabClientAPI.RemoveFriend(request, OnFriendRemoveSuccess, OnFailure); }