Use correct var name

This commit is contained in:
Hugh Nimmo-Smith 2022-10-13 15:58:19 +01:00
parent 1e60f3c25b
commit e2f3dde5c1

View file

@ -66,7 +66,7 @@ internal class DefaultAuthenticationService @Inject constructor(
private val pendingSessionStore: PendingSessionStore,
private val getWellknownTask: GetWellknownTask,
private val directLoginTask: DirectLoginTask,
private val loginTokenAuthTask: QrLoginTokenTask
private val qrLoginTokenTask: QrLoginTokenTask
) : AuthenticationService {
private var pendingSessionData: PendingSessionData? = pendingSessionStore.getPendingSessionData()
@ -428,7 +428,7 @@ internal class DefaultAuthenticationService @Inject constructor(
initialDeviceName: String?,
deviceId: String?,
): Session {
return loginTokenAuthTask.execute(
return qrLoginTokenTask.execute(
QrLoginTokenTask.Params(
homeServerConnectionConfig = homeServerConnectionConfig,
loginToken = loginToken,