aboutsummaryrefslogtreecommitdiff
path: root/juick-api/src/main/java/com/juick
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-12-19 15:02:56 +0300
committerGravatar Vitaly Takmazov2016-12-19 15:02:56 +0300
commit7293d22f1aa731610849a8657b8ae462eb67eee2 (patch)
tree49e36037b6cc09c8c37093a4d34a713803382d7a /juick-api/src/main/java/com/juick
parent16d02ab9e31cd4a68334575499d039d48a5fb0a9 (diff)
juick-server: drop json part from JuickProtocol reply
Diffstat (limited to 'juick-api/src/main/java/com/juick')
-rw-r--r--juick-api/src/main/java/com/juick/api/controllers/TelegramWebhook.java2
1 files changed, 1 insertions, 1 deletions
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);
}*/
}
}