@WsSubscribe
public void handlePostChat(WebSocket ws, PostChatMessage msg) {
if (!msg.getGameId().equals(game.getGameId())) throw new IllegalArgumentException("Invalid game id.");
String clientId = getClientId(ws);
ChatMessage reMsg = new ChatMessage(msg.getGameId(), clientId, msg.getText());
broadcast(reMsg);
}