mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-02 07:56:53 +00:00
Replace reserved "notification" key with "newMessageAlert"
This commit is contained in:
1 parent
2b08742c0a
commit
aaf43a592f
1 file changed
+1
-1
@@ -88,7 +88,7 @@ public class FcmSender implements PushNotificationSender {
|
||||
.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";
|
||||
|
||||
Reference in new issue
Block a user