aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/notificators
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar/notificators')
-rw-r--r--src/main/java/org/traccar/notificators/NotificatorWeb.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/notificators/NotificatorWeb.java b/src/main/java/org/traccar/notificators/NotificatorWeb.java
index efbbf24cc..061018ba9 100644
--- a/src/main/java/org/traccar/notificators/NotificatorWeb.java
+++ b/src/main/java/org/traccar/notificators/NotificatorWeb.java
@@ -56,8 +56,8 @@ public final class NotificatorWeb implements Notificator {
var message = notificationFormatter.formatMessage(user, event, position, "short");
copy.set("message", message.getBody());
- connectionManager.updateEvent(user.getId(), copy);
- broadcastService.updateEvent(user.getId(), copy);
+ connectionManager.updateEvent(true, user.getId(), copy);
+ broadcastService.updateEvent(true, user.getId(), copy);
}
}