This commit is contained in:
Vitor Pamplona
2026-03-03 10:23:27 -05:00
parent 2b80ab52b7
commit 3c32dbc701
@@ -92,7 +92,12 @@ class NewUserMetadataViewModel : ViewModel() {
// Load identities from kind 10011 first, fall back to kind 0 for backwards compat
val identities =
account.userMetadata.getExternalIdentitiesEvent()?.identityClaims()
?: account.userProfile().metadataOrNull()?.flow?.value?.identities
?: account
.userProfile()
.metadataOrNull()
?.flow
?.value
?.identities
?: emptyList()
identities.forEach { identity ->