mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Remove the support email address from the OIDC configuration. (#4059)
The contacts property has been removed from the SDK.
This commit is contained in:
@@ -101,7 +101,6 @@ final class AppSettings {
|
||||
copyrightURL: URL,
|
||||
acceptableUseURL: URL,
|
||||
privacyURL: URL,
|
||||
supportEmailAddress: String,
|
||||
encryptionURL: URL,
|
||||
chatBackupDetailsURL: URL,
|
||||
identityPinningViolationDetailsURL: URL,
|
||||
@@ -117,7 +116,6 @@ final class AppSettings {
|
||||
self.copyrightURL = copyrightURL
|
||||
self.acceptableUseURL = acceptableUseURL
|
||||
self.privacyURL = privacyURL
|
||||
self.supportEmailAddress = supportEmailAddress
|
||||
self.encryptionURL = encryptionURL
|
||||
self.chatBackupDetailsURL = chatBackupDetailsURL
|
||||
self.identityPinningViolationDetailsURL = identityPinningViolationDetailsURL
|
||||
@@ -167,8 +165,6 @@ final class AppSettings {
|
||||
private(set) var acceptableUseURL: URL = "https://element.io/acceptable-use-policy-terms"
|
||||
/// A URL that contains the app's Privacy Policy.
|
||||
private(set) var privacyURL: URL = "https://element.io/privacy"
|
||||
/// An email address that should be used for support requests.
|
||||
private(set) var supportEmailAddress = "support@element.io"
|
||||
/// A URL where users can go read more about encryption in general.
|
||||
private(set) var encryptionURL: URL = "https://element.io/help#encryption"
|
||||
/// A URL where users can go read more about the chat backup.
|
||||
@@ -209,7 +205,6 @@ final class AppSettings {
|
||||
logoURI: logoURL,
|
||||
tosURI: acceptableUseURL,
|
||||
policyURI: privacyURL,
|
||||
contacts: [supportEmailAddress],
|
||||
staticRegistrations: oidcStaticRegistrations.mapKeys { $0.absoluteString })
|
||||
|
||||
/// Whether or not the Create Account button is shown on the start screen.
|
||||
|
||||
@@ -14,7 +14,6 @@ struct OIDCConfigurationProxy {
|
||||
let logoURI: URL
|
||||
let tosURI: URL
|
||||
let policyURI: URL
|
||||
let contacts: [String]
|
||||
let staticRegistrations: [String: String]
|
||||
}
|
||||
|
||||
@@ -29,7 +28,7 @@ extension OIDCConfigurationProxy {
|
||||
logoUri: logoURI.absoluteString,
|
||||
tosUri: tosURI.absoluteString,
|
||||
policyUri: policyURI.absoluteString,
|
||||
contacts: contacts,
|
||||
contacts: nil,
|
||||
staticRegistrations: staticRegistrations)
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
Submodule Enterprise updated: 2c4b038f7a...1b5e6442c8
Reference in New Issue
Block a user