diff options
author | soshial <soshial@gmail.com> | 2021-12-27 22:16:08 +0400 |
---|---|---|
committer | soshial <soshial@gmail.com> | 2021-12-27 22:16:08 +0400 |
commit | 41453ca2ee76372a031ea206c264c1c7cde58ee6 (patch) | |
tree | a5e9246f0465b9099619e45eea0519f58dd5c740 | |
parent | 29c63d9bf48623ef11e89399e4c7c0e09bf1c446 (diff) | |
download | traccar-server-41453ca2ee76372a031ea206c264c1c7cde58ee6.tar.gz traccar-server-41453ca2ee76372a031ea206c264c1c7cde58ee6.tar.bz2 traccar-server-41453ca2ee76372a031ea206c264c1c7cde58ee6.zip |
filtering logic: fix static
-rw-r--r-- | src/main/java/org/traccar/handler/FilterHandler.java | 2 |
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 { |