aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorsoshial <soshial@gmail.com>2021-12-27 22:16:08 +0400
committersoshial <soshial@gmail.com>2021-12-27 22:16:08 +0400
commit41453ca2ee76372a031ea206c264c1c7cde58ee6 (patch)
treea5e9246f0465b9099619e45eea0519f58dd5c740 /src/main
parent29c63d9bf48623ef11e89399e4c7c0e09bf1c446 (diff)
downloadtrackermap-server-41453ca2ee76372a031ea206c264c1c7cde58ee6.tar.gz
trackermap-server-41453ca2ee76372a031ea206c264c1c7cde58ee6.tar.bz2
trackermap-server-41453ca2ee76372a031ea206c264c1c7cde58ee6.zip
filtering logic: fix static
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/traccar/handler/FilterHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/handler/FilterHandler.java b/src/main/java/org/traccar/handler/FilterHandler.java
index e8cafabc8..049512765 100644
--- a/src/main/java/org/traccar/handler/FilterHandler.java
+++ b/src/main/java/org/traccar/handler/FilterHandler.java
@@ -168,7 +168,7 @@ public class FilterHandler extends BaseDataHandler {
// filter out excessive data
long deviceId = position.getDeviceId();
- if (filterDuplicate || filterDistance > 0 || filterMaxSpeed > 0 || filterMinPeriod > 0) {
+ if (filterDuplicate || filterStatic || filterDistance > 0 || filterMaxSpeed > 0 || filterMinPeriod > 0) {
Position preceding = null;
if (filterRelative) {
try {