Commit 66c1484c 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@5959 b35dd754-fafc-0310-a699-88a17e54d16e
parent 06b8db2a
......@@ -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)
*/
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 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