diff options
author | Anton Tananaev <anton@traccar.org> | 2024-02-25 06:40:48 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2024-02-25 06:40:48 -0800 |
commit | f5257e0da276949d43eaa36b9284fc4d59845637 (patch) | |
tree | 40c20982acdffd0c8e3a99bb2915afb0401903a4 /src/main/java | |
parent | 88be1a85b5377156ea812cd8faf62002812ac52e (diff) | |
download | trackermap-server-f5257e0da276949d43eaa36b9284fc4d59845637.tar.gz trackermap-server-f5257e0da276949d43eaa36b9284fc4d59845637.tar.bz2 trackermap-server-f5257e0da276949d43eaa36b9284fc4d59845637.zip |
Replace deprecated method
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/traccar/notificators/NotificatorFirebase.java | 2 |
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()) { |