aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/notification/NotificationSms.java
diff options
context:
space:
mode:
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);
}
}
}