mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 04:46:47 +00:00
Make rate limit challenge APNs payloads "silent"
This commit is contained in:
1 parent
38bc0c466a
commit
fbf71c93ff
1 file changed
+1
-2
@@ -114,8 +114,7 @@ public class APNSender implements Managed, PushNotificationSender {
|
||||
.build();
|
||||
|
||||
case RATE_LIMIT_CHALLENGE -> new SimpleApnsPayloadBuilder()
|
||||
.setSound("default")
|
||||
.setLocalizedAlertMessage("APN_Message")
|
||||
.setContentAvailable(true)
|
||||
.addCustomProperty("rateLimitChallenge", notification.data())
|
||||
.build();
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user