Hi
When an contact is not on any list any more, it should be removed from contact list.
When an REM message is received, the contact is removed from the contact list, if and only if the actual list is not RL. If the case of RL the contact is left in the list.
The patch below corrects this.
Regards,
Steffen
--- L:/Projekte/osiris4/dev/JML/src/net/sf/jml/protocol/incoming/IncomingREM.java (revision 81)
+++ L:/Projekte/osiris4/dev/JML/src/net/sf/jml/protocol/incoming/IncomingREM.java (working copy)
@@ -102,6 +102,9 @@
contact.setInList(MsnList.RL, false);
((AbstractMessenger) session.getMessenger())
.fireContactRemovedMe(contact);
+ if (contact.getListNumber() == 0) { //Not in any group, delete from contact list
+ contactList.removeContactByEmail(contact.getEmail());
+ }
}
} else {
MsnContactImpl contact;