Skip to content

Commit 8f6edba

Browse files
committed
Fix typo
1 parent 9aeb3b7 commit 8f6edba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/auth/DefaultAuthenticationService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ internal class DefaultAuthenticationService @Inject constructor(
298298
}
299299

300300
// If an m.login.sso flow is present that is flagged as being for MSC3824 OIDC compatibility then we only return that flow
301-
val oidcCompatibilityFlow = loginFlowResponse.flows.orEmpty().firstOrNull { it.type == "m.login.sso" && it.delegatedOidcCompatibilty == true }
301+
val oidcCompatibilityFlow = loginFlowResponse.flows.orEmpty().firstOrNull { it.type == "m.login.sso" && it.delegatedOidcCompatibility == true }
302302
val flows = if (oidcCompatibilityFlow != null) listOf(oidcCompatibilityFlow) else loginFlowResponse.flows
303303

304304
val supportsGetLoginTokenFlow = loginFlowResponse.flows.orEmpty().firstOrNull { it.type == "m.login.token" && it.getLoginToken == true } != null

matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/auth/data/LoginFlowResponse.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ internal data class LoginFlow(
5151
* See [MSC3824](https://github.com/matrix-org/matrix-spec-proposals/pull/3824)
5252
*/
5353
@Json(name = "org.matrix.msc3824.delegated_oidc_compatibility")
54-
val delegatedOidcCompatibilty: Boolean? = null,
54+
val delegatedOidcCompatibility: Boolean? = null,
5555

5656
/**
5757
* Whether a login flow of type m.login.token could accept a token issued using /login/get_token.

0 commit comments

Comments
 (0)