Make initialDeviceName optional

This commit is contained in:
Hugh Nimmo-Smith 2022-10-13 15:35:45 +01:00
parent 09da74b029
commit 5bff9ceec4
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ interface AuthenticationService {
suspend fun loginUsingQrLoginToken( suspend fun loginUsingQrLoginToken(
homeServerConnectionConfig: HomeServerConnectionConfig, homeServerConnectionConfig: HomeServerConnectionConfig,
loginToken: String, loginToken: String,
initialDeviceName: String, initialDeviceName: String?,
deviceId: String? = null deviceId: String? = null
): Session ): Session
} }

View File

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