Make initialDeviceName optional
This commit is contained in:
parent
b03240330d
commit
1e60f3c25b
|
@ -140,7 +140,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
|
||||||
}
|
}
|
||||||
|
|
|
@ -425,7 +425,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(
|
||||||
|
|
Loading…
Reference in New Issue