diff options
author | Anton Tananaev <anton@traccar.org> | 2022-06-07 07:07:25 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-06-07 07:07:25 -0700 |
commit | 65f9e253171dc6805127e5279b97fad05f8c4b9f (patch) | |
tree | fc3968d7c5c5c07118d4e153ece5af31371e90a5 /src/main/java/org/traccar/database/CommandsManager.java | |
parent | 8eecfdcf5c59f92158a6c339d1622e0e9d67968c (diff) | |
download | trackermap-server-65f9e253171dc6805127e5279b97fad05f8c4b9f.tar.gz trackermap-server-65f9e253171dc6805127e5279b97fad05f8c4b9f.tar.bz2 trackermap-server-65f9e253171dc6805127e5279b97fad05f8c4b9f.zip |
Remove async methods
Diffstat (limited to 'src/main/java/org/traccar/database/CommandsManager.java')
-rw-r--r-- | src/main/java/org/traccar/database/CommandsManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/database/CommandsManager.java b/src/main/java/org/traccar/database/CommandsManager.java index d440755f7..8dd2ba8b7 100644 --- a/src/main/java/org/traccar/database/CommandsManager.java +++ b/src/main/java/org/traccar/database/CommandsManager.java @@ -79,7 +79,7 @@ public class CommandsManager { BaseProtocol protocol = serverManager.getProtocol(position.getProtocol()); protocol.sendTextCommand(device.getPhone(), command); } else if (command.getType().equals(Command.TYPE_CUSTOM)) { - smsManager.sendMessageSync(device.getPhone(), command.getString(Command.KEY_DATA), true); + smsManager.sendMessage(device.getPhone(), command.getString(Command.KEY_DATA), true); } else { throw new RuntimeException("Command " + command.getType() + " is not supported"); } |