mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +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,
|
copyrightURL: URL,
|
||||||
acceptableUseURL: URL,
|
acceptableUseURL: URL,
|
||||||
privacyURL: URL,
|
privacyURL: URL,
|
||||||
supportEmailAddress: String,
|
|
||||||
encryptionURL: URL,
|
encryptionURL: URL,
|
||||||
chatBackupDetailsURL: URL,
|
chatBackupDetailsURL: URL,
|
||||||
identityPinningViolationDetailsURL: URL,
|
identityPinningViolationDetailsURL: URL,
|
||||||
@@ -117,7 +116,6 @@ final class AppSettings {
|
|||||||
self.copyrightURL = copyrightURL
|
self.copyrightURL = copyrightURL
|
||||||
self.acceptableUseURL = acceptableUseURL
|
self.acceptableUseURL = acceptableUseURL
|
||||||
self.privacyURL = privacyURL
|
self.privacyURL = privacyURL
|
||||||
self.supportEmailAddress = supportEmailAddress
|
|
||||||
self.encryptionURL = encryptionURL
|
self.encryptionURL = encryptionURL
|
||||||
self.chatBackupDetailsURL = chatBackupDetailsURL
|
self.chatBackupDetailsURL = chatBackupDetailsURL
|
||||||
self.identityPinningViolationDetailsURL = identityPinningViolationDetailsURL
|
self.identityPinningViolationDetailsURL = identityPinningViolationDetailsURL
|
||||||
@@ -167,8 +165,6 @@ final class AppSettings {
|
|||||||
private(set) var acceptableUseURL: URL = "https://element.io/acceptable-use-policy-terms"
|
private(set) var acceptableUseURL: URL = "https://element.io/acceptable-use-policy-terms"
|
||||||
/// A URL that contains the app's Privacy Policy.
|
/// A URL that contains the app's Privacy Policy.
|
||||||
private(set) var privacyURL: URL = "https://element.io/privacy"
|
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.
|
/// A URL where users can go read more about encryption in general.
|
||||||
private(set) var encryptionURL: URL = "https://element.io/help#encryption"
|
private(set) var encryptionURL: URL = "https://element.io/help#encryption"
|
||||||
/// A URL where users can go read more about the chat backup.
|
/// A URL where users can go read more about the chat backup.
|
||||||
@@ -209,7 +205,6 @@ final class AppSettings {
|
|||||||
logoURI: logoURL,
|
logoURI: logoURL,
|
||||||
tosURI: acceptableUseURL,
|
tosURI: acceptableUseURL,
|
||||||
policyURI: privacyURL,
|
policyURI: privacyURL,
|
||||||
contacts: [supportEmailAddress],
|
|
||||||
staticRegistrations: oidcStaticRegistrations.mapKeys { $0.absoluteString })
|
staticRegistrations: oidcStaticRegistrations.mapKeys { $0.absoluteString })
|
||||||
|
|
||||||
/// Whether or not the Create Account button is shown on the start screen.
|
/// Whether or not the Create Account button is shown on the start screen.
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ struct OIDCConfigurationProxy {
|
|||||||
let logoURI: URL
|
let logoURI: URL
|
||||||
let tosURI: URL
|
let tosURI: URL
|
||||||
let policyURI: URL
|
let policyURI: URL
|
||||||
let contacts: [String]
|
|
||||||
let staticRegistrations: [String: String]
|
let staticRegistrations: [String: String]
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -29,7 +28,7 @@ extension OIDCConfigurationProxy {
|
|||||||
logoUri: logoURI.absoluteString,
|
logoUri: logoURI.absoluteString,
|
||||||
tosUri: tosURI.absoluteString,
|
tosUri: tosURI.absoluteString,
|
||||||
policyUri: policyURI.absoluteString,
|
policyUri: policyURI.absoluteString,
|
||||||
contacts: contacts,
|
contacts: nil,
|
||||||
staticRegistrations: staticRegistrations)
|
staticRegistrations: staticRegistrations)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
Submodule Enterprise updated: 2c4b038f7a...1b5e6442c8
Reference in New Issue
Block a user