Hi,
I have a problem, using the API I want to delete a Buddy, I'm using removeFriend Method, but after deletetion if I use a normal MSN client I found deleted accounts in to the blocked list, also if I don't block the user, is it normal? Thanks for your attention
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have a problem, using the API I want to delete a Buddy, I'm using removeFriend Method, but after deletetion if I use a normal MSN client I found deleted accounts in to the blocked list, also if I don't block the user, is it normal? Thanks for your attention
You never trully remove a user from the MSN list, its moved from FL / AL to RL and the blocked list (BL) if instructed.
In theory if you removeFriend(contact, false) it should not put it into the blocked list:
From SimpleMessenger:
public void removeFriend(Email email, boolean block) {
if (email == null)
return;
MsnContact contact = getContactList().getContactByEmail(email);
if (contact != null) {
removeFriend(MsnList.FL, email, contact.getId(), null);
if (block) {
blockFriend(email);
}
}
}
Alex