in msn client it will open a box that someone add me as friend, i can choose apply or deny,in jml how to do it,i can not add friend after someone add me,
i think it would be like:
public void contactAddedMe(MsnMessenger messenger, MsnContact contact) {
messenger.addFriend(contact.getEmail(), contact.getFriendlyName());
}
but it does not work!
help
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
in msn client it will open a box that someone add me as friend, i can choose apply or deny,in jml how to do it,i can not add friend after someone add me,
i think it would be like:
public void contactAddedMe(MsnMessenger messenger, MsnContact contact) {
messenger.addFriend(contact.getEmail(), contact.getFriendlyName());
}
but it does not work!
help
Did you fix the messenger.addFriend method?
See the Forum thread [Remove / Add friend fails]
Sincerelly, Ian