From 495026b724562f1ce64a31937039aa95a01fb3c0 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 16 Apr 2018 22:22:24 +0300 Subject: server: ignore /logout from telegram --- juick-server/src/main/java/com/juick/server/TelegramBotManager.java | 1 + 1 file changed, 1 insertion(+) (limited to 'juick-server/src/main/java') 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 7a377d5a..5bbfec91 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()); -- cgit v1.2.3