This commit is contained in:
Hugh Nimmo-Smith 2022-10-13 15:19:39 +01:00
parent f13419d696
commit 09da74b029

View file

@ -406,7 +406,12 @@ internal class DefaultAuthenticationService @Inject constructor(
) )
} }
override suspend fun loginUsingQrLoginToken(homeServerConnectionConfig: HomeServerConnectionConfig, loginToken: String, initialDeviceName: String, deviceId: String?): Session { override suspend fun loginUsingQrLoginToken(
homeServerConnectionConfig: HomeServerConnectionConfig,
loginToken: String,
initialDeviceName: String,
deviceId: String?,
): Session {
return loginTokenAuthTask.execute( return loginTokenAuthTask.execute(
QrLoginTokenTask.Params( QrLoginTokenTask.Params(
homeServerConnectionConfig = homeServerConnectionConfig, homeServerConnectionConfig = homeServerConnectionConfig,