From 4ad9878d536588833838afc3ada1e4e3e19c26f9 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 2 Mar 2017 17:57:00 +0300 Subject: juick-server: protocol cleanup --- juick-ws/src/main/java/com/juick/ws/WebsocketComponent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-ws') diff --git a/juick-ws/src/main/java/com/juick/ws/WebsocketComponent.java b/juick-ws/src/main/java/com/juick/ws/WebsocketComponent.java index 8d0c3d76..bca1b27a 100644 --- a/juick-ws/src/main/java/com/juick/ws/WebsocketComponent.java +++ b/juick-ws/src/main/java/com/juick/ws/WebsocketComponent.java @@ -149,7 +149,7 @@ public class WebsocketComponent extends TextWebSocketHandler implements Protocol String input = message.getPayload(); if (StringUtils.isNotBlank(input)) { try { - s.session.sendMessage(new TextMessage(protocol.getReply(user, input).getResult())); + s.session.sendMessage(new TextMessage(protocol.getReply(user, input))); } catch (IOException | InvocationTargetException | IllegalAccessException | NoSuchMethodException e) { logger.error("protocol exception", e); } -- cgit v1.2.3