aboutsummaryrefslogtreecommitdiff
path: root/juick-api/src/main/java/com/juick
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-02-08 11:43:51 +0300
committerGravatar Vitaly Takmazov2018-02-08 11:43:51 +0300
commit089f00eaf912781cebd4dc87e9c445051d0cc532 (patch)
treed09db226b69ac81f56b7c71b8f0db5ae3378f704 /juick-api/src/main/java/com/juick
parent5ed39dda637059d56f6d8c501880ec9bca7b2fee (diff)
api: fix tg login url
Diffstat (limited to 'juick-api/src/main/java/com/juick')
-rw-r--r--juick-api/src/main/java/com/juick/api/TelegramBotManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-api/src/main/java/com/juick/api/TelegramBotManager.java b/juick-api/src/main/java/com/juick/api/TelegramBotManager.java
index c82436ed..6f2e50d1 100644
--- a/juick-api/src/main/java/com/juick/api/TelegramBotManager.java
+++ b/juick-api/src/main/java/com/juick/api/TelegramBotManager.java
@@ -156,7 +156,7 @@ public class TelegramBotManager implements ApplicationListener<MessageEvent> {
|| text.equalsIgnoreCase("/login")
|| text.equalsIgnoreCase("/start")
|| text.equalsIgnoreCase("/help")) {
- String msgUrl = "http://juick.com/login?" + userService.getHashByUID(user_from.getUid());
+ String msgUrl = "http://juick.com/login?hash=" + userService.getHashByUID(user_from.getUid());
String msg = String.format("Hi, %s!\nYou can post messages and images to Juick there.\n" +
"Tap to [log into website](%s) to get more info", user_from.getName(), msgUrl);
telegramNotify(message.from().id().longValue(), msg);