* Changed table maneger to remove chat sessions that were never removed. Minor formattings.

This commit is contained in:
LevelX2 2014-07-25 15:54:51 +02:00
parent 8bdc94082d
commit e25a60b312
5 changed files with 18 additions and 11 deletions

View file

@ -69,7 +69,9 @@ public class ChatManager {
}
public void destroyChatSession(UUID chatId) {
chatSessions.remove(chatId);
if (chatId != null) {
chatSessions.remove(chatId);
}
}
public void broadcast(UUID chatId, String userName, String message, MessageColor color) {