diff --git a/deltachat-ios.xcodeproj/project.pbxproj b/deltachat-ios.xcodeproj/project.pbxproj index e35570ec0..fe2a8b6bb 100644 --- a/deltachat-ios.xcodeproj/project.pbxproj +++ b/deltachat-ios.xcodeproj/project.pbxproj @@ -1701,6 +1701,7 @@ }; A1B2C3D4E5F6A7B8C9D0E1F2 /* Strip Simulator Archs */ = { isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; buildActionMask = 2147483647; files = ( ); diff --git a/deltachat-ios/DC/PrvContext.swift b/deltachat-ios/DC/PrvContext.swift index 6cd68a4e3..17dfa0346 100644 --- a/deltachat-ios/DC/PrvContext.swift +++ b/deltachat-ios/DC/PrvContext.swift @@ -814,7 +814,7 @@ public class PrvContext { return (false, nil, nil, "Core not initialized") } - guard let currentUser = getCurrentUser() else { + guard getCurrentUser() != nil else { return (false, nil, nil, "No user selected") } @@ -824,7 +824,7 @@ public class PrvContext { } let message = result["message"] as? String - let appStatus = result["app_status"] + _ = result["app_status"] let successValue: Bool if let value = result["success"] as? Bool { @@ -839,8 +839,6 @@ public class PrvContext { if successValue { let data = result["data"] as? [String: Any] - let pduPresent = (data?["pdu"] as? String) != nil - let status = data?["status"] as? String ?? "?" return (true, data, message, nil) } @@ -1289,7 +1287,7 @@ public class PrvContext { return nil } - return core.getSecureConnectionDisplayText(message) + return core.getSecureConnectionDisplayText(with: message) } /// Initialize a Privitty group chat diff --git a/docs/renew-push-certificate.md b/docs/renew-push-certificate.md index af1a53121..3660ffa36 100644 --- a/docs/renew-push-certificate.md +++ b/docs/renew-push-certificate.md @@ -19,7 +19,7 @@ These are the steps needed for renewal: - open , hit "Create" - select "Apple Push Notification service SSL (Sandbox & Production)" -- App ID: `8Y...A8.chat.delta` +- App ID: `9W...RW.chat.privitty` - upload `CertificateSigningRequest.certSigningRequest` from above - download locally to `certificates/YEAR-push-renew-NUMBER/aps.cer` (do not add to git)