Always upload token

This commit is contained in:
Christoph Hagen 2022-11-18 13:38:25 +01:00
parent 1c70b21e25
commit 0e0fe36fa8

View File

@ -45,10 +45,6 @@ class AppDelegate: NSObject, UIApplicationDelegate {
} }
private func uploadNewDeviceToken(_ token: Data) { private func uploadNewDeviceToken(_ token: Data) {
if token == pushToken {
// Device token unchanged
return
}
Task { Task {
let tokenUpload = TokenUpload(currentToken: token, previousToken: pushToken) let tokenUpload = TokenUpload(currentToken: token, previousToken: pushToken)