mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-21 05:48:04 +01:00
Make registration challenge APNs payloads "silent"
This commit is contained in:
committed by
Jon Chambers
parent
fbf71c93ff
commit
acd1140ef6
@@ -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