Refactoring of TranscriptWindow.

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@7106 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Derek DeMoro
2007-02-14 04:55:31 +00:00
committed by derek
parent 45c0140a22
commit 9471f5231c
16 changed files with 187 additions and 371 deletions

View File

@ -372,7 +372,7 @@ public class Workspace extends JPanel implements PacketListener {
ChatRoom room = SparkManager.getChatManager().createChatRoom(bareJID, nickname, nickname);
// Insert offline message
room.getTranscriptWindow().insertOthersMessage(nickname, message);
room.getTranscriptWindow().insertMessage(nickname, message, ChatManager.FROM_COLOR);
room.addToTranscript(message, true);
// Send display and notified message back.