mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 16:24:11 +00:00
add the content scanner URL to the app settings
This commit is contained in:
@@ -23,6 +23,7 @@ nonisolated protocol CommonSettingsProtocol: AnyObject, Sendable {
|
||||
var logLevel: LogLevel { get }
|
||||
var traceLogPacks: Set<TraceLogPack> { get }
|
||||
var bugReportRageshakeURL: RemotePreference<RageshakeConfiguration> { get }
|
||||
var contentScannerURL: RemotePreference<URL?> { get }
|
||||
|
||||
var enableOnlySignedDeviceIsolationMode: Bool { get }
|
||||
var threadsEnabled: Bool { get }
|
||||
@@ -266,6 +267,12 @@ final nonisolated class AppSettings: @unchecked Sendable {
|
||||
/// The name allocated by the bug report server
|
||||
private(set) var bugReportApplicationID = "element-x-ios"
|
||||
|
||||
// MARK: - Content scanner
|
||||
|
||||
/// The base URL of the content scanner server used to scan media before it is downloaded.
|
||||
/// `nil` when content scanning is disabled.
|
||||
let contentScannerURL: RemotePreference<URL?> = .init(nil)
|
||||
|
||||
// MARK: - Analytics
|
||||
|
||||
/// The configuration to use for analytics. Set to `nil` to disable analytics.
|
||||
|
||||
+1
-1
Submodule Enterprise updated: bd9d5b94a2...08f2544018
Reference in New Issue
Block a user