mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
fix: remove rlement endpoints and links from the HealthChat
* fix(healthchat): switch off analytics, crash and bug reporting endpoints Upstream ships *.localhost placeholders in Secrets.swift and marks the file assume-unchanged; with analytics on, the Element Call widget was handed Element's own PostHog and Sentry. nil hides the analytics prompt, the Analytics and Report a problem entries until HealthChat runs its own services. * feat(healthchat): hide the Labs entry in settings * fix(healthchat): point Copyright and the analytics terms at healthchat.ch * docs(healthchat): add the 26.11.1 release notes * feat(healthchat): drop the Element help links * feat(healthchat): switch off location sharing * test(healthchat): skip the analytics suite without PostHog
This commit is contained in:
@@ -65,11 +65,11 @@ final nonisolated class AppSettings: @unchecked Sendable {
|
||||
copyrightURL: URL,
|
||||
acceptableUseURL: URL,
|
||||
privacyURL: URL,
|
||||
encryptionURL: URL,
|
||||
deviceVerificationURL: URL,
|
||||
chatBackupDetailsURL: URL,
|
||||
identityPinningViolationDetailsURL: URL,
|
||||
historySharingDetailsURL: URL,
|
||||
encryptionURL: URL?,
|
||||
deviceVerificationURL: URL?,
|
||||
chatBackupDetailsURL: URL?,
|
||||
identityPinningViolationDetailsURL: URL?,
|
||||
historySharingDetailsURL: URL?,
|
||||
elementWebHosts: [String],
|
||||
accountProvisioningHost: String,
|
||||
bugReportApplicationID: String,
|
||||
@@ -145,15 +145,15 @@ final nonisolated class AppSettings: @unchecked Sendable {
|
||||
/// A URL that contains the app's Privacy Policy.
|
||||
private(set) var privacyURL: URL = "https://element.io/privacy"
|
||||
/// 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 device verification..
|
||||
private(set) var deviceVerificationURL: URL = "https://element.io/help#encryption-device-verification"
|
||||
private(set) var deviceVerificationURL: URL? = "https://element.io/help#encryption-device-verification"
|
||||
/// A URL where users can go read more about the chat backup.
|
||||
private(set) var chatBackupDetailsURL: URL = "https://element.io/help#encryption5"
|
||||
private(set) var chatBackupDetailsURL: URL? = "https://element.io/help#encryption5"
|
||||
/// A URL where users can go read more about identity pinning violations
|
||||
private(set) var identityPinningViolationDetailsURL: URL = "https://element.io/help#encryption18"
|
||||
private(set) var identityPinningViolationDetailsURL: URL? = "https://element.io/help#encryption18"
|
||||
/// A URL describing how history sharing works
|
||||
private(set) var historySharingDetailsURL: URL = "https://element.io/en/help#e2ee-history-sharing"
|
||||
private(set) var historySharingDetailsURL: URL? = "https://element.io/en/help#e2ee-history-sharing"
|
||||
|
||||
/// Any domains that Element web may be hosted on - used for handling links.
|
||||
private(set) var elementWebHosts = ["app.element.io", "staging.element.io", "develop.element.io"]
|
||||
|
||||
Reference in New Issue
Block a user