diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-30 18:39:50 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-30 18:39:50 -0700 |
commit | 4dc602d8a7700924b0117424533046b28f4a8df4 (patch) | |
tree | d1f5f1edcd8db36716d3d1f44cd57d69d0e6d996 /src/main/java/org/traccar/protocol/EgtsProtocolDecoder.java | |
parent | 9a68d1045f30bf8397d6cbf90df8f42f40979591 (diff) | |
download | trackermap-server-4dc602d8a7700924b0117424533046b28f4a8df4.tar.gz trackermap-server-4dc602d8a7700924b0117424533046b28f4a8df4.tar.bz2 trackermap-server-4dc602d8a7700924b0117424533046b28f4a8df4.zip |
Combine active device and session
Diffstat (limited to 'src/main/java/org/traccar/protocol/EgtsProtocolDecoder.java')
-rw-r--r-- | src/main/java/org/traccar/protocol/EgtsProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/EgtsProtocolDecoder.java b/src/main/java/org/traccar/protocol/EgtsProtocolDecoder.java index 3a6af60a1..01d329580 100644 --- a/src/main/java/org/traccar/protocol/EgtsProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/EgtsProtocolDecoder.java @@ -291,7 +291,7 @@ public class EgtsProtocolDecoder extends BaseProtocolDecoder { if (serviceType == SERVICE_TELEDATA && position.getValid()) { if (useObjectIdAsDeviceId && objectId != 0L) { - deviceSession = getDeviceSession(channel, remoteAddress, true, String.valueOf(objectId)); + deviceSession = getDeviceSession(channel, remoteAddress, String.valueOf(objectId)); if (deviceSession != null) { position.setDeviceId(deviceSession.getDeviceId()); } |