Browse Source

Message ausgeben

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

1
src/main/java/ChatServer.java

@ -30,6 +30,7 @@ public class ChatServer {
} }
public void broadcastMessage(String message) { public void broadcastMessage(String message) {
System.out.println(message);
for (ClientHandler client : clients) { for (ClientHandler client : clients) {
client.sendMessage(message); client.sendMessage(message);
} }

Loading…
Cancel
Save