From 83815d291a7945c26a675c8543e8766ad2d1beda Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 3 Nov 2017 14:32:30 +0300 Subject: api: fix wrong telegram reply id --- .../src/main/java/com/juick/api/controllers/TelegramWebhook.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'juick-api/src') 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); -- cgit v1.2.3