lint
This commit is contained in:
+6
-1
@@ -92,7 +92,12 @@ class NewUserMetadataViewModel : ViewModel() {
|
|||||||
// Load identities from kind 10011 first, fall back to kind 0 for backwards compat
|
// Load identities from kind 10011 first, fall back to kind 0 for backwards compat
|
||||||
val identities =
|
val identities =
|
||||||
account.userMetadata.getExternalIdentitiesEvent()?.identityClaims()
|
account.userMetadata.getExternalIdentitiesEvent()?.identityClaims()
|
||||||
?: account.userProfile().metadataOrNull()?.flow?.value?.identities
|
?: account
|
||||||
|
.userProfile()
|
||||||
|
.metadataOrNull()
|
||||||
|
?.flow
|
||||||
|
?.value
|
||||||
|
?.identities
|
||||||
?: emptyList()
|
?: emptyList()
|
||||||
|
|
||||||
identities.forEach { identity ->
|
identities.forEach { identity ->
|
||||||
|
|||||||
Reference in New Issue
Block a user