mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 21:48:50 +03:00
Remove undocumented parameter
https://github.com/matrix-org/sydent/issues/195
This commit is contained in:
parent
e411f139c8
commit
03f8b66993
2 changed files with 1 additions and 12 deletions
|
@ -16,7 +16,6 @@
|
|||
|
||||
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.getCountryCode
|
||||
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
|
||||
identityServiceStore.storePendingBinding(
|
||||
params.threePid,
|
||||
|
|
|
@ -27,11 +27,5 @@ internal data class IdentityRequestTokenResponse(
|
|||
* Their length must not exceed 255 characters and they must not be empty.
|
||||
*/
|
||||
@Json(name = "sid")
|
||||
val sid: String,
|
||||
|
||||
/**
|
||||
* Not documented
|
||||
*/
|
||||
@Json(name = "success")
|
||||
val success: Boolean
|
||||
val sid: String
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue