aboutsummaryrefslogtreecommitdiff
path: root/juick-ws/src/main/java/com
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-03-02 17:57:00 +0300
committerGravatar Vitaly Takmazov2017-03-02 17:57:00 +0300
commit4ad9878d536588833838afc3ada1e4e3e19c26f9 (patch)
tree44f1e1174350895c3e02e531999fe3931b678a78 /juick-ws/src/main/java/com
parentc2f4735877781313ef0d0960ac3c0403944a495c (diff)
juick-server: protocol cleanup
Diffstat (limited to 'juick-ws/src/main/java/com')
-rw-r--r--juick-ws/src/main/java/com/juick/ws/WebsocketComponent.java2
1 files changed, 1 insertions, 1 deletions
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);
}