mirror of
https://github.com/correl/mage.git
synced 2024-11-25 03:00:11 +00:00
broadcast fix
This commit is contained in:
parent
e42d195f8d
commit
f04fecf7a6
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ public class ChatSession {
|
||||||
if (user.isPresent()) {
|
if (user.isPresent()) {
|
||||||
user.get().fireCallback(clientCallback);
|
user.get().fireCallback(clientCallback);
|
||||||
} else {
|
} else {
|
||||||
clientsToRemove = new HashSet<>();
|
clientsToRemove.add(userId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (UUID userIdToRemove : clientsToRemove) {
|
for (UUID userIdToRemove : clientsToRemove) {
|
||||||
|
|
Loading…
Reference in a new issue