aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/TelegramBotManager.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-01-14 08:20:59 +0300
committerGravatar Vitaly Takmazov2023-01-14 08:20:59 +0300
commit63ead138664a6477460884d266d4f93011ec134a (patch)
treeb194f14ba559e4e06e8bee5686dd0fd9506bbac9 /src/main/java/com/juick/TelegramBotManager.java
parent3e24323834b324aac0deb228c7a66be570c5fbb9 (diff)
Minor updates for Telegram Login and bot
Diffstat (limited to 'src/main/java/com/juick/TelegramBotManager.java')
-rw-r--r--src/main/java/com/juick/TelegramBotManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/TelegramBotManager.java b/src/main/java/com/juick/TelegramBotManager.java
index c9a2dadd..3335b61a 100644
--- a/src/main/java/com/juick/TelegramBotManager.java
+++ b/src/main/java/com/juick/TelegramBotManager.java
@@ -133,7 +133,7 @@ public class TelegramBotManager implements NotificationListener {
if (update.message() == null) {
message = update.editedMessage();
if (message == null) {
- logger.error("error parsing telegram update: {}", update);
+ // not a message
return;
}
User user_from = userService.getUserByTelegramId(message.chat().id()).orElse(AnonymousUser.INSTANCE);