Adding escaped JID support.

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@5261 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Derek DeMoro
2006-09-06 06:46:48 +00:00
committed by derek
parent 558e9531ec
commit bd40fadc1a
10 changed files with 14 additions and 7 deletions

View File

@ -12,6 +12,7 @@ package org.jivesoftware.spark;
import org.jivesoftware.resource.SparkRes;
import org.jivesoftware.smack.Roster;
import org.jivesoftware.smack.util.StringUtils;
import org.jivesoftware.smack.packet.Presence;
import org.jivesoftware.smackx.muc.Occupant;
import org.jivesoftware.smackx.packet.VCard;
@ -255,7 +256,7 @@ public class UserManager {
return item.getNickname();
}
return jid;
return StringUtils.unescapeJID(jid);
}
/**