aboutsummaryrefslogtreecommitdiff
path: root/juick-api/src/main
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-11-03 14:32:30 +0300
committerGravatar Vitaly Takmazov2017-11-03 14:32:30 +0300
commit83815d291a7945c26a675c8543e8766ad2d1beda (patch)
treeab78eb309f8115df9ef8a16033264522625681b9 /juick-api/src/main
parent966af8fdd48fc0ea17d8893ec711d6d7419c48de (diff)
api: fix wrong telegram reply id
Diffstat (limited to 'juick-api/src/main')
-rw-r--r--juick-api/src/main/java/com/juick/api/controllers/TelegramWebhook.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/juick-api/src/main/java/com/juick/api/controllers/TelegramWebhook.java b/juick-api/src/main/java/com/juick/api/controllers/TelegramWebhook.java
index 5e253e3c..2ac805cd 100644
--- a/juick-api/src/main/java/com/juick/api/controllers/TelegramWebhook.java
+++ b/juick-api/src/main/java/com/juick/api/controllers/TelegramWebhook.java
@@ -155,11 +155,11 @@ public class TelegramWebhook {
}
} else {
telegramBotManager.telegramNotify(message.from().id().longValue(),
- "Can not reply to this message", message.messageId());
+ "Can not reply to this message", replyMessage.messageId());
}
} else {
telegramBotManager.telegramNotify(message.from().id().longValue(),
- "Can not reply to this message", message.messageId());
+ "Can not reply to this message", replyMessage.messageId());
}
} else {
apiServer.processMessage(user_from, text, attachment);