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