aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/notification/NotificationSms.java
diff options
context:
space:
mode:
authorIvan Martinez <ivanfmartinez@users.noreply.github.com>2018-06-01 07:34:35 -0300
committerIvan Martinez <ivanfmartinez@users.noreply.github.com>2018-06-01 07:34:35 -0300
commit50a80d68516890aa3ec5c2826f929474927def30 (patch)
treed0c0a2885fa9fcffa94ed600cda45090b81eaaaf /src/org/traccar/notification/NotificationSms.java
parent25eb3d86b97f8a0eb806f3e0c572d80c495257d6 (diff)
downloadtrackermap-server-50a80d68516890aa3ec5c2826f929474927def30.tar.gz
trackermap-server-50a80d68516890aa3ec5c2826f929474927def30.tar.bz2
trackermap-server-50a80d68516890aa3ec5c2826f929474927def30.zip
generic template names
Diffstat (limited to 'src/org/traccar/notification/NotificationSms.java')
-rw-r--r--src/org/traccar/notification/NotificationSms.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/notification/NotificationSms.java b/src/org/traccar/notification/NotificationSms.java
index a8eaff798..804fa8527 100644
--- a/src/org/traccar/notification/NotificationSms.java
+++ b/src/org/traccar/notification/NotificationSms.java
@@ -30,7 +30,7 @@ public final class NotificationSms extends Notificator {
if (user.getPhone() != null) {
Context.getStatisticsManager().registerSms();
Context.getSmsManager().sendMessageAsync(user.getPhone(),
- NotificationFormatter.formatSmsMessage(userId, event, position), false);
+ NotificationFormatter.formatShortMessage(userId, event, position), false);
}
}
@@ -41,7 +41,7 @@ public final class NotificationSms extends Notificator {
if (user.getPhone() != null) {
Context.getStatisticsManager().registerSms();
Context.getSmsManager().sendMessageSync(user.getPhone(),
- NotificationFormatter.formatSmsMessage(userId, event, position), false);
+ NotificationFormatter.formatShortMessage(userId, event, position), false);
}
}
}