Commit 9ae82bfb authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

Deleted msnm for now. (conflicts with jml) Also killed contactDeleted...

Deleted msnm for now.  (conflicts with jml)  Also killed contactDeleted handling as there is clearly some logic error I'm missing that managed to wipe my entire contact list.  ;)  uncool.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@5379 b35dd754-fafc-0310-a699-88a17e54d16e
parent 22606539
......@@ -1304,17 +1304,18 @@ public abstract class BaseTransport implements Component, RosterEventListener {
* @see org.jivesoftware.wildfire.roster.RosterEventListener#contactDeleted(org.jivesoftware.wildfire.roster.Roster, org.jivesoftware.wildfire.roster.RosterItem)
*/
public void contactDeleted(Roster roster, RosterItem item) {
if (!item.getJid().getDomain().equals(this.getJID().getDomain())) {
// Not ours, not our problem.
return;
}
try {
TransportSession session = sessionManager.getSession(roster.getUsername());
session.removeContact(item);
}
catch (NotFoundException e) {
//
}
// TODO: This is hella dangerous and I need to reevaluate it.
// if (!item.getJid().getDomain().equals(this.getJID().getDomain())) {
// // Not ours, not our problem.
// return;
// }
// try {
// TransportSession session = sessionManager.getSession(roster.getUsername());
// session.removeContact(item);
// }
// catch (NotFoundException e) {
// //
// }
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment