Merge pull request #7500 from element-hq/feature/account-provider-full-mxid

Let users enter their full Matrix user ID on the account provider screen
This commit is contained in:
Benoit Marty
2026-08-24 08:24:50 +02:00
committed by GitHub
3 changed files with 93 additions and 2 deletions
@@ -70,10 +70,15 @@ class FakeMatrixAuthenticationService(
return importCreatedSessionLambda(externalSession)
}
/** The login hint passed to the most recent [getOAuthUrl] call. */
var getOAuthUrlLoginHint: String? = null
private set
override suspend fun getOAuthUrl(
prompt: OAuthPrompt,
loginHint: String?,
): Result<OAuthDetails> = simulateLongTask {
getOAuthUrlLoginHint = loginHint
oAuthError?.let { Result.failure(it) } ?: Result.success(AN_OAUTH_DATA)
}