Add a new AccountSettings type and compose it with AppSettings into UserSettings.

The new type doesn't contain any settings yet.
This commit is contained in:
Doug
2026-09-25 13:42:37 +01:00
committed by Stefan Ceriu
parent 44fb05f489
commit 54cc1cba60
4 changed files with 74 additions and 14 deletions
@@ -21,10 +21,11 @@ struct SessionSecurityState: Equatable {
// sourcery: AutoMockable
protocol UserSessionProtocol: Sendable {
var clientProxy: ClientProxyProtocol { get }
var userSettings: UserSettings { get }
var mediaProvider: MediaProviderProtocol { get }
var voiceMessageMediaManager: VoiceMessageMediaManagerProtocol { get }
var liveLocationManager: LiveLocationManagerProtocol { get }
/// Scans media content, `nil` when no content scanner is configured for the server.
var contentScannerService: ContentScannerServiceProtocol? { get }