From 7092b70a8a92fc1fdfaa8a2c54ec7a2037f8790c Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sat, 27 Aug 2016 10:41:45 +0300 Subject: telegram: disable protocol commands for now --- juick-api/src/main/java/com/juick/api/TelegramBotHook.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'juick-api') diff --git a/juick-api/src/main/java/com/juick/api/TelegramBotHook.java b/juick-api/src/main/java/com/juick/api/TelegramBotHook.java index aec5dab8..ef78485e 100644 --- a/juick-api/src/main/java/com/juick/api/TelegramBotHook.java +++ b/juick-api/src/main/java/com/juick/api/TelegramBotHook.java @@ -192,10 +192,10 @@ public class TelegramBotHook { String msg = String.format("Hi, %s!\nTap to log in", user_from.getUName()); String msgUrl = "http://juick.com/login?" + UserQueries.getHashByUID(jdbc, user_from.getUID()); telegramNotify(message.from().id().longValue(), msg, msgUrl); - } else { + } /* else { ProtocolReply reply = protocol.getReply(user_from, text); telegramNotify(message.from().id().longValue(), reply.getDescription(), null); - } + }*/ } } } -- cgit v1.2.3