aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-02-25 06:40:48 -0800
committerAnton Tananaev <anton@traccar.org>2024-02-25 06:40:48 -0800
commitf5257e0da276949d43eaa36b9284fc4d59845637 (patch)
tree40c20982acdffd0c8e3a99bb2915afb0401903a4 /src/main/java/org
parent88be1a85b5377156ea812cd8faf62002812ac52e (diff)
downloadtrackermap-server-f5257e0da276949d43eaa36b9284fc4d59845637.tar.gz
trackermap-server-f5257e0da276949d43eaa36b9284fc4d59845637.tar.bz2
trackermap-server-f5257e0da276949d43eaa36b9284fc4d59845637.zip
Replace deprecated method
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/traccar/notificators/NotificatorFirebase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/notificators/NotificatorFirebase.java b/src/main/java/org/traccar/notificators/NotificatorFirebase.java
index a4171a1d4..7440068f8 100644
--- a/src/main/java/org/traccar/notificators/NotificatorFirebase.java
+++ b/src/main/java/org/traccar/notificators/NotificatorFirebase.java
@@ -108,7 +108,7 @@ public class NotificatorFirebase extends Notificator {
}
try {
- var result = FirebaseMessaging.getInstance().sendMulticast(messageBuilder.build());
+ var result = FirebaseMessaging.getInstance().sendEachForMulticast(messageBuilder.build());
List<String> failedTokens = new LinkedList<>();
var iterator = result.getResponses().listIterator();
while (iterator.hasNext()) {