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
@@ -465,15 +465,15 @@ class AppCoordinator: AppCoordinatorProtocol, AuthenticationFlowCoordinatorDeleg
|
||||
}
|
||||
|
||||
Task {
|
||||
let credentials = SoftLogoutScreenCredentials(userID: userSession.userID,
|
||||
homeserverName: userSession.homeserver,
|
||||
let credentials = SoftLogoutScreenCredentials(userID: userSession.clientProxy.userID,
|
||||
homeserverName: userSession.clientProxy.homeserver,
|
||||
userDisplayName: userSession.clientProxy.userDisplayNamePublisher.value ?? "",
|
||||
deviceID: userSession.deviceID)
|
||||
deviceID: userSession.clientProxy.deviceID)
|
||||
|
||||
let authenticationService = AuthenticationServiceProxy(userSessionStore: userSessionStore,
|
||||
encryptionKeyProvider: EncryptionKeyProvider(),
|
||||
appSettings: appSettings)
|
||||
_ = await authenticationService.configure(for: userSession.homeserver)
|
||||
_ = await authenticationService.configure(for: userSession.clientProxy.homeserver)
|
||||
|
||||
let parameters = SoftLogoutScreenCoordinatorParameters(authenticationService: authenticationService,
|
||||
credentials: credentials,
|
||||
@@ -705,7 +705,7 @@ class AppCoordinator: AppCoordinatorProtocol, AuthenticationFlowCoordinatorDeleg
|
||||
stopSync()
|
||||
userSessionFlowCoordinator?.stop()
|
||||
|
||||
let userID = userSession.userID
|
||||
let userID = userSession.clientProxy.userID
|
||||
tearDownUserSession()
|
||||
|
||||
// Allow for everything to deallocate properly
|
||||
|
||||
Reference in New Issue
Block a user