Browse Source

Abfrage ob Nachricht nicht leer ist

remotes/origin/feature/client/make-input-field-buttons-interactive^2
Paul Kattenborn 11 months ago
parent
commit
d90c8f7560
  1. 2
      src/main/java/ChatServer.java

2
src/main/java/ChatServer.java

@ -31,9 +31,11 @@ public class ChatServer {
public void broadcastMessage(String message) {
System.out.println(message);
if (message != null) {
for (ClientHandler client : clients) {
client.sendMessage(message);
}
}
}

Loading…
Cancel
Save