diff options
author | Vitaly Takmazov | 2017-11-03 14:32:30 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-11-03 14:32:30 +0300 |
commit | 83815d291a7945c26a675c8543e8766ad2d1beda (patch) | |
tree | ab78eb309f8115df9ef8a16033264522625681b9 /juick-api/src/main/java/com | |
parent | 966af8fdd48fc0ea17d8893ec711d6d7419c48de (diff) |
api: fix wrong telegram reply id
Diffstat (limited to 'juick-api/src/main/java/com')
-rw-r--r-- | juick-api/src/main/java/com/juick/api/controllers/TelegramWebhook.java | 4 |
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); |