aboutsummaryrefslogtreecommitdiff
path: root/juick-api/src
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-08-27 10:41:45 +0300
committerGravatar Vitaly Takmazov2016-08-27 10:41:45 +0300
commit7092b70a8a92fc1fdfaa8a2c54ec7a2037f8790c (patch)
tree9c525a95d2c7c2c8afa85c3f54f11fa075c8a6c1 /juick-api/src
parent1a11a2654b556b5282cefd8fdf658913954a7b99 (diff)
telegram: disable protocol commands for now
Diffstat (limited to 'juick-api/src')
-rw-r--r--juick-api/src/main/java/com/juick/api/TelegramBotHook.java4
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);
- }
+ }*/
}
}
}