Commit b143f8be authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

[GATE-96] Fixed contacts being left in jiveRoster.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk/src/plugins/gateway@5959 b35dd754-fafc-0310-a699-88a17e54d16e
parent 56fbc593
...@@ -1297,7 +1297,7 @@ public abstract class BaseTransport implements Component, RosterEventListener, P ...@@ -1297,7 +1297,7 @@ 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) {
if (item.getJid().getDomain().equals(this.getJID()) && item.getJid().getNode() != null) { if (item.getJid().getDomain().equals(this.getJID().toString())) {
return false; 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