mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-17 23:18:27 +02:00
Fix PR remarks
This commit is contained in:
@@ -20,7 +20,7 @@ import Foundation
|
||||
|
||||
struct MockSessionCreator: SessionCreatorProtocol {
|
||||
/// Returns a basic session created from the supplied credentials. This prevents the app from setting up the account during tests.
|
||||
func createSession(credentials: MXCredentials, client: AuthenticationRestClient, resetOthers: Bool) -> MXSession {
|
||||
func createSession(credentials: MXCredentials, client: AuthenticationRestClient, removeOtherAccounts: Bool) -> MXSession {
|
||||
let client = MXRestClient(credentials: credentials,
|
||||
unauthenticatedHandler: { _,_,_,_ in }) // The handler is expected if credentials are set.
|
||||
return MXSession(matrixRestClient: client)
|
||||
|
||||
Reference in New Issue
Block a user