From 7293d22f1aa731610849a8657b8ae462eb67eee2 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 19 Dec 2016 15:02:56 +0300 Subject: juick-server: drop json part from JuickProtocol reply --- juick-api/src/main/java/com/juick/api/controllers/TelegramWebhook.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-api') diff --git a/juick-api/src/main/java/com/juick/api/controllers/TelegramWebhook.java b/juick-api/src/main/java/com/juick/api/controllers/TelegramWebhook.java index 90929711..22f588e0 100644 --- a/juick-api/src/main/java/com/juick/api/controllers/TelegramWebhook.java +++ b/juick-api/src/main/java/com/juick/api/controllers/TelegramWebhook.java @@ -74,7 +74,7 @@ public class TelegramWebhook { tgBot.telegramNotify(message.from().id().longValue(), msg, msgUrl); } /* else { ProtocolReply reply = protocol.getReply(user_from, text); - telegramNotify(message.from().id().longValue(), reply.getDescription(), null); + telegramNotify(message.from().id().longValue(), reply.getResult(), null); }*/ } } -- cgit v1.2.3