From aaf43a592f05783d921c70437508449c99b57872 Mon Sep 17 00:00:00 2001 From: g1a55er <132613020+g1a55er@users.noreply.github.com> Date: Fri, 2 Jun 2023 01:38:25 -0400 Subject: [PATCH] Replace reserved "notification" key with "newMessageAlert" --- .../java/org/whispersystems/textsecuregcm/push/FcmSender.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/push/FcmSender.java b/service/src/main/java/org/whispersystems/textsecuregcm/push/FcmSender.java index 5946067d3..15c39dae7 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/push/FcmSender.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/push/FcmSender.java @@ -88,7 +88,7 @@ public CompletableFuture sendNotification(PushNotifi .build()); final String key = switch (pushNotification.notificationType()) { - case NOTIFICATION -> "notification"; + case NOTIFICATION -> "newMessageAlert"; case ATTEMPT_LOGIN_NOTIFICATION_HIGH_PRIORITY, ATTEMPT_LOGIN_NOTIFICATION_LOW_PRIORITY -> "attemptLoginContext"; case CHALLENGE -> "challenge"; case RATE_LIMIT_CHALLENGE -> "rateLimitChallenge";