aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-08-01 16:42:14 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-08-01 16:42:14 -0700
commita89f5095b9c67c08e33776dc09e1f3c7b3452ac5 (patch)
treee459be8c62c1f1891f0fc4a145a8de523e6eb414
parentc7677c1a695b210114070f53d9bcadaa6fd5e5e7 (diff)
downloadtrackermap-server-a89f5095b9c67c08e33776dc09e1f3c7b3452ac5.tar.gz
trackermap-server-a89f5095b9c67c08e33776dc09e1f3c7b3452ac5.tar.bz2
trackermap-server-a89f5095b9c67c08e33776dc09e1f3c7b3452ac5.zip
Add another message response
-rw-r--r--src/main/java/org/traccar/protocol/EasyTrackProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/EasyTrackProtocolDecoder.java b/src/main/java/org/traccar/protocol/EasyTrackProtocolDecoder.java
index d22106a80..115884e2c 100644
--- a/src/main/java/org/traccar/protocol/EasyTrackProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/EasyTrackProtocolDecoder.java
@@ -97,7 +97,7 @@ public class EasyTrackProtocolDecoder extends BaseProtocolDecoder {
String sentence = (String) msg;
String type = sentence.substring(20, 22);
- if (type.equals("TX") && channel != null) {
+ if ((type.equals("TX") || type.equals("MQ")) && channel != null) {
channel.writeAndFlush(new NetworkMessage(sentence + "#", remoteAddress));
}