Remove undocumented parameter
https://github.com/matrix-org/sydent/issues/195
This commit is contained in:
parent
e411f139c8
commit
03f8b66993
|
@ -16,7 +16,6 @@
|
||||||
|
|
||||||
package im.vector.matrix.android.internal.session.identity
|
package im.vector.matrix.android.internal.session.identity
|
||||||
|
|
||||||
import im.vector.matrix.android.api.session.identity.IdentityServiceError
|
|
||||||
import im.vector.matrix.android.api.session.identity.ThreePid
|
import im.vector.matrix.android.api.session.identity.ThreePid
|
||||||
import im.vector.matrix.android.api.session.identity.getCountryCode
|
import im.vector.matrix.android.api.session.identity.getCountryCode
|
||||||
import im.vector.matrix.android.internal.di.UserId
|
import im.vector.matrix.android.internal.di.UserId
|
||||||
|
@ -64,10 +63,6 @@ internal class DefaultIdentityRequestTokenForBindingTask @Inject constructor(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!tokenResponse.success) {
|
|
||||||
throw IdentityServiceError.BindingError
|
|
||||||
}
|
|
||||||
|
|
||||||
// Store client secret and sid
|
// Store client secret and sid
|
||||||
identityServiceStore.storePendingBinding(
|
identityServiceStore.storePendingBinding(
|
||||||
params.threePid,
|
params.threePid,
|
||||||
|
|
|
@ -27,11 +27,5 @@ internal data class IdentityRequestTokenResponse(
|
||||||
* Their length must not exceed 255 characters and they must not be empty.
|
* Their length must not exceed 255 characters and they must not be empty.
|
||||||
*/
|
*/
|
||||||
@Json(name = "sid")
|
@Json(name = "sid")
|
||||||
val sid: String,
|
val sid: String
|
||||||
|
|
||||||
/**
|
|
||||||
* Not documented
|
|
||||||
*/
|
|
||||||
@Json(name = "success")
|
|
||||||
val success: Boolean
|
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue