aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/notification
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-04-20 10:35:57 -0700
committerGitHub <noreply@github.com>2019-04-20 10:35:57 -0700
commit24be0a7aa9ee04da30f2da81c0ba5d21e2353f5d (patch)
tree9e58528210035fa75755002d566658a36669b09f /src/main/java/org/traccar/notification
parent2c6dc2ea108e8f35ad8324e6a6149010b8e258ef (diff)
parent25cbe0ed501319dbb23cc260817a797df5be9fb6 (diff)
downloadtrackermap-server-24be0a7aa9ee04da30f2da81c0ba5d21e2353f5d.tar.gz
trackermap-server-24be0a7aa9ee04da30f2da81c0ba5d21e2353f5d.tar.bz2
trackermap-server-24be0a7aa9ee04da30f2da81c0ba5d21e2353f5d.zip
Merge pull request #4284 from he-leon/master
Added Telegram support
Diffstat (limited to 'src/main/java/org/traccar/notification')
-rw-r--r--src/main/java/org/traccar/notification/NotificatorManager.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/notification/NotificatorManager.java b/src/main/java/org/traccar/notification/NotificatorManager.java
index a4080a38d..191748379 100644
--- a/src/main/java/org/traccar/notification/NotificatorManager.java
+++ b/src/main/java/org/traccar/notification/NotificatorManager.java
@@ -31,6 +31,7 @@ import org.traccar.notificators.NotificatorNull;
import org.traccar.notificators.Notificator;
import org.traccar.notificators.NotificatorSms;
import org.traccar.notificators.NotificatorWeb;
+import org.traccar.notificators.NotificatorTelegram;
public final class NotificatorManager {
@@ -57,6 +58,9 @@ public final class NotificatorManager {
case "firebase":
defaultNotificator = NotificatorFirebase.class.getCanonicalName();
break;
+ case "telegram":
+ defaultNotificator = NotificatorTelegram.class.getCanonicalName();
+ break;
default:
break;
}