aboutsummaryrefslogtreecommitdiff
path: root/juick-api/src/main/java/com/juick/api
diff options
context:
space:
mode:
Diffstat (limited to 'juick-api/src/main/java/com/juick/api')
-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);