aboutsummaryrefslogtreecommitdiff
path: root/juick-api
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-07-21 14:44:18 +0300
committerGravatar Vitaly Takmazov2016-07-21 14:44:18 +0300
commitdbc48e0d220107ac0887d21f2144665f4eea5aab (patch)
tree568c58d21d83a7f14683aa46fde4368ab7c9e97f /juick-api
parent1a5a47dc89b576b3fd6e555b6196973d0d9e32c3 (diff)
Telegram: fix juick link
Diffstat (limited to 'juick-api')
-rw-r--r--juick-api/src/main/java/com/juick/api/TelegramBotHook.java2
1 files changed, 1 insertions, 1 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 e09c4021..aec5dab8 100644
--- a/juick-api/src/main/java/com/juick/api/TelegramBotHook.java
+++ b/juick-api/src/main/java/com/juick/api/TelegramBotHook.java
@@ -136,7 +136,7 @@ public class TelegramBotHook {
}
));
}
- bot.execute(new SendMessage(c, msg), new Callback<SendMessage, SendResponse>() {
+ bot.execute(telegramMessage, new Callback<SendMessage, SendResponse>() {
@Override
public void onResponse(SendMessage request, SendResponse response) {
logger.info("got response: " + response.message().toString());