Make initialDeviceName optional
This commit is contained in:
parent
86090086b1
commit
ebb3d201c1
|
@ -135,7 +135,7 @@ interface AuthenticationService {
|
|||
suspend fun loginUsingQrLoginToken(
|
||||
homeServerConnectionConfig: HomeServerConnectionConfig,
|
||||
loginToken: String,
|
||||
initialDeviceName: String,
|
||||
initialDeviceName: String?,
|
||||
deviceId: String? = null
|
||||
): Session
|
||||
}
|
||||
|
|
|
@ -409,7 +409,7 @@ internal class DefaultAuthenticationService @Inject constructor(
|
|||
override suspend fun loginUsingQrLoginToken(
|
||||
homeServerConnectionConfig: HomeServerConnectionConfig,
|
||||
loginToken: String,
|
||||
initialDeviceName: String,
|
||||
initialDeviceName: String?,
|
||||
deviceId: String?,
|
||||
): Session {
|
||||
return loginTokenAuthTask.execute(
|
||||
|
|
Loading…
Reference in New Issue