Added new invitation dialog for Fastpath.

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@5262 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Derek DeMoro
2006-09-06 16:39:19 +00:00
committed by derek
parent bd40fadc1a
commit 17ccc73bb6
5 changed files with 8 additions and 5 deletions

View File

@ -12,8 +12,8 @@ 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.smack.util.StringUtils;
import org.jivesoftware.smackx.muc.Occupant;
import org.jivesoftware.smackx.packet.VCard;
import org.jivesoftware.spark.ui.ChatRoom;
@ -25,12 +25,12 @@ import org.jivesoftware.spark.util.ModelUtil;
import org.jivesoftware.spark.util.log.Log;
import org.jivesoftware.sparkimpl.profile.VCardManager;
import javax.swing.Icon;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.swing.Icon;
/**
* Handles all users in the agent application. Each user or chatting user can be referenced from the User
* Manager. You would use the UserManager to get visitors in a chat room or secondary agents.
@ -60,7 +60,10 @@ public class UserManager {
}
// Default to node if nothing.
return SparkManager.getSessionManager().getUsername();
String username = SparkManager.getSessionManager().getUsername();
username = StringUtils.escapeNode(username);
return username;
}