From f04fecf7a6f258b24a342e4a3f3f5ea8ec2fb5bb Mon Sep 17 00:00:00 2001 From: ingmargoudt Date: Tue, 4 Apr 2017 20:40:37 +0200 Subject: [PATCH] broadcast fix --- Mage.Server/src/main/java/mage/server/ChatSession.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage.Server/src/main/java/mage/server/ChatSession.java b/Mage.Server/src/main/java/mage/server/ChatSession.java index 1a3a3914ef..485a37a102 100644 --- a/Mage.Server/src/main/java/mage/server/ChatSession.java +++ b/Mage.Server/src/main/java/mage/server/ChatSession.java @@ -146,7 +146,7 @@ public class ChatSession { if (user.isPresent()) { user.get().fireCallback(clientCallback); } else { - clientsToRemove = new HashSet<>(); + clientsToRemove.add(userId); } } for (UUID userIdToRemove : clientsToRemove) {