fix ios service

This commit is contained in:
Salvatore Giordano
2020-04-10 12:17:03 +02:00
parent 61f65ee4b8
commit 77354334b3
@@ -42,7 +42,7 @@ final class NotificationService: UNNotificationServiceExtension {
sharedDefaults.setValue(storedMessages + [encodedString], forKey: "messageQueue")
// Modify the notification content here...
self.bestAttemptContent?.title = "[modified] \(self?.bestAttemptContent?.title ?? "<NoContent>")"
self?.bestAttemptContent?.title = "[modified] \(self?.bestAttemptContent?.title ?? "<NoContent>")"
contentHandler(self?.bestAttemptContent ?? request.content)
}
Client.shared.disconnect()