aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwkhaksar <31837615+wkhaksar@users.noreply.github.com>2021-11-04 17:31:41 +0100
committerGitHub <noreply@github.com>2021-11-04 17:31:41 +0100
commit0cb463258cf282036db6fdf3e08a50dc189a154b (patch)
treead82f0c25198648c6ea51ff0b72d89de38851ea9
parent8465c59b8e63fa42fdf0d5966a266f3d1775bef1 (diff)
downloadtraccar-server-0cb463258cf282036db6fdf3e08a50dc189a154b.tar.gz
traccar-server-0cb463258cf282036db6fdf3e08a50dc189a154b.tar.bz2
traccar-server-0cb463258cf282036db6fdf3e08a50dc189a154b.zip
Update src/main/java/org/traccar/notificators/NotificatorTelegram.java
Co-authored-by: Anton Tananaev <anton.tananaev@gmail.com>
-rw-r--r--src/main/java/org/traccar/notificators/NotificatorTelegram.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/notificators/NotificatorTelegram.java b/src/main/java/org/traccar/notificators/NotificatorTelegram.java
index 62a5a14ff..70148110c 100644
--- a/src/main/java/org/traccar/notificators/NotificatorTelegram.java
+++ b/src/main/java/org/traccar/notificators/NotificatorTelegram.java
@@ -99,7 +99,7 @@ public class NotificatorTelegram extends Notificator {
@Override
public void sendSync(long userId, Event event, Position position) {
User user = Context.getPermissionsManager().getUser(userId);
- NotificationMessage shortMessage = NotificationFormatter.formatMessage(userId, event, position,"short");
+ NotificationMessage shortMessage = NotificationFormatter.formatMessage(userId, event, position, "short");
TextMessage message = new TextMessage();
message.chatId = user.getString("telegramChatId");