diff options
author | 2016-08-27 10:41:45 +0300 | |
---|---|---|
committer | 2016-08-27 10:41:45 +0300 | |
commit | 7092b70a8a92fc1fdfaa8a2c54ec7a2037f8790c (patch) | |
tree | 9c525a95d2c7c2c8afa85c3f54f11fa075c8a6c1 /juick-api/src/main | |
parent | 1a11a2654b556b5282cefd8fdf658913954a7b99 (diff) |
telegram: disable protocol commands for now
Diffstat (limited to 'juick-api/src/main')
-rw-r--r-- | juick-api/src/main/java/com/juick/api/TelegramBotHook.java | 4 |
1 files changed, 2 insertions, 2 deletions
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); - } + }*/ } } } |