forked from External/mage
* Changed table maneger to remove chat sessions that were never removed. Minor formattings.
This commit is contained in:
parent
8bdc94082d
commit
e25a60b312
5 changed files with 18 additions and 11 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue