Always upload token
This commit is contained in:
parent
1c70b21e25
commit
0e0fe36fa8
@ -45,10 +45,6 @@ class AppDelegate: NSObject, UIApplicationDelegate {
|
||||
}
|
||||
|
||||
private func uploadNewDeviceToken(_ token: Data) {
|
||||
if token == pushToken {
|
||||
// Device token unchanged
|
||||
return
|
||||
}
|
||||
|
||||
Task {
|
||||
let tokenUpload = TokenUpload(currentToken: token, previousToken: pushToken)
|
||||
|
Loading…
Reference in New Issue
Block a user