mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Removed forwarded properties from the UserSessionProtocol as the ClientProxy is already fully exposed
This commit is contained in:
committed by
Stefan Ceriu
parent
3a904ebc9d
commit
e93e75778a
@@ -23,10 +23,6 @@ class UserSession: UserSessionProtocol {
|
||||
private var cancellables = Set<AnyCancellable>()
|
||||
|
||||
private var authErrorCancellable: AnyCancellable?
|
||||
|
||||
var userID: String { clientProxy.userID }
|
||||
var deviceID: String? { clientProxy.deviceID }
|
||||
var homeserver: String { clientProxy.homeserver }
|
||||
|
||||
let clientProxy: ClientProxyProtocol
|
||||
let mediaProvider: MediaProviderProtocol
|
||||
|
||||
@@ -28,10 +28,6 @@ struct SessionSecurityState: Equatable {
|
||||
|
||||
// sourcery: AutoMockable
|
||||
protocol UserSessionProtocol {
|
||||
var homeserver: String { get }
|
||||
var userID: String { get }
|
||||
var deviceID: String? { get }
|
||||
|
||||
var clientProxy: ClientProxyProtocol { get }
|
||||
var mediaProvider: MediaProviderProtocol { get }
|
||||
var voiceMessageMediaManager: VoiceMessageMediaManagerProtocol { get }
|
||||
|
||||
Reference in New Issue
Block a user