aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/database/NotificationManager.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-03-07 22:42:47 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2021-03-07 22:42:47 -0800
commite28ae518fddc930dcb26d70a4456ee1b28fb0ecc (patch)
treeac8678771bb35156e5537fd13ecfc66950a5ad54 /src/main/java/org/traccar/database/NotificationManager.java
parent312cd7bd408c978392cacb6ef580288158361ce5 (diff)
downloadtrackermap-server-e28ae518fddc930dcb26d70a4456ee1b28fb0ecc.tar.gz
trackermap-server-e28ae518fddc930dcb26d70a4456ee1b28fb0ecc.tar.bz2
trackermap-server-e28ae518fddc930dcb26d70a4456ee1b28fb0ecc.zip
Rename event time field
Diffstat (limited to 'src/main/java/org/traccar/database/NotificationManager.java')
-rw-r--r--src/main/java/org/traccar/database/NotificationManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/database/NotificationManager.java b/src/main/java/org/traccar/database/NotificationManager.java
index ccad192f6..c4fc48ebf 100644
--- a/src/main/java/org/traccar/database/NotificationManager.java
+++ b/src/main/java/org/traccar/database/NotificationManager.java
@@ -90,7 +90,7 @@ public class NotificationManager extends ExtendedObjectManager<Notification> {
usersToForward.add(userId);
}
final Set<String> notificators = new HashSet<>();
- for (long notificationId : getEffectiveNotifications(userId, deviceId, event.getServerTime())) {
+ for (long notificationId : getEffectiveNotifications(userId, deviceId, event.getEventTime())) {
Notification notification = getById(notificationId);
if (getById(notificationId).getType().equals(event.getType())) {
boolean filter = false;