diff options
author | Vitaly Takmazov | 2018-04-16 22:22:24 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-04-16 22:22:24 +0300 |
commit | 495026b724562f1ce64a31937039aa95a01fb3c0 (patch) | |
tree | 11aef3a9deea26667fd84dfcdf2cfadeed4a6b69 /juick-server/src/main/java/com/juick/server | |
parent | 516b3cf0032a6204711dc85cd42d2bf41b84e999 (diff) |
server: ignore /logout from telegram
Diffstat (limited to 'juick-server/src/main/java/com/juick/server')
-rw-r--r-- | juick-server/src/main/java/com/juick/server/TelegramBotManager.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/juick-server/src/main/java/com/juick/server/TelegramBotManager.java b/juick-server/src/main/java/com/juick/server/TelegramBotManager.java index 7a377d5a3..5bbfec918 100644 --- a/juick-server/src/main/java/com/juick/server/TelegramBotManager.java +++ b/juick-server/src/main/java/com/juick/server/TelegramBotManager.java @@ -158,6 +158,7 @@ public class TelegramBotManager implements NotificationListener { || text.equalsIgnoreCase("PING") || text.equalsIgnoreCase("HELP") || text.equalsIgnoreCase("/login") + || text.equalsIgnoreCase("/logout") || text.equalsIgnoreCase("/start") || text.equalsIgnoreCase("/help")) { String msgUrl = "http://juick.com/login?hash=" + userService.getHashByUID(user_from.getUid()); |