diff options
Diffstat (limited to 'juick-ws/src/main/java/com')
-rw-r--r-- | juick-ws/src/main/java/com/juick/ws/WebsocketComponent.java | 2 |
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); } |