Commit 56fbc593 authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

Bite me intellij.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk/src/plugins/gateway@5958 b35dd754-fafc-0310-a699-88a17e54d16e
parent a3879ced
...@@ -1297,12 +1297,10 @@ public abstract class BaseTransport implements Component, RosterEventListener, P ...@@ -1297,12 +1297,10 @@ public abstract class BaseTransport implements Component, RosterEventListener, P
* @see org.jivesoftware.wildfire.roster.RosterEventListener#addingContact(org.jivesoftware.wildfire.roster.Roster, org.jivesoftware.wildfire.roster.RosterItem, boolean) * @see org.jivesoftware.wildfire.roster.RosterEventListener#addingContact(org.jivesoftware.wildfire.roster.Roster, org.jivesoftware.wildfire.roster.RosterItem, boolean)
*/ */
public boolean addingContact(Roster roster, RosterItem item, boolean persistent) { public boolean addingContact(Roster roster, RosterItem item, boolean persistent) {
return !(item.getJid().getDomain().equals(this.getJID()) && if (item.getJid().getDomain().equals(this.getJID()) && item.getJid().getNode() != null) {
item.getJid().getNode() != null) && persistent; return false;
// if (item.getJid().getDomain().equals(this.getJID()) && item.getJid().getNode() != null) { }
// return false; return persistent;
// }
// return persistent;
} }
/** /**
......
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