pull/560/head
ryanzhao 4 years ago
parent 7cd7343585
commit 63d75040a6

@ -146,7 +146,6 @@ extension AppDelegate {
BackgroundPoller.poll(completionHandler: { result in
if result == .failed {
task.setTaskCompleted(success: false)
} else {
task.setTaskCompleted(success: true)
}

@ -5,7 +5,7 @@ import PromiseKit
public final class PushNotificationAPI : NSObject {
// MARK: Settings
public static let server = "https://dev.apns.getsession.org"
public static let server = "https://live.apns.getsession.org"
public static let serverPublicKey = "642a6585919742e5a2d4dc51244964fbcd8bcab2b75612407de58b810740d049"
private static let maxRetryCount: UInt = 4
private static let tokenExpirationInterval: TimeInterval = 12 * 60 * 60

Loading…
Cancel
Save