Skip to content

fix(desktop): reuse profiles when joining communities#2155

Open
baxen wants to merge 1 commit into
mainfrom
fizz/community-profile-on-join
Open

fix(desktop): reuse profiles when joining communities#2155
baxen wants to merge 1 commit into
mainfrom
fizz/community-profile-on-join

Conversation

@baxen

@baxen baxen commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Why

People joining a community with an existing relay profile should not be asked to recreate their name and avatar.

What

  • Check the active identity's relay profile after the joined community becomes active
  • Skip directly to the starter-team step when a kind-0 profile event exists
  • Preserve the profile setup path when no event exists or discovery fails
  • Cover both new-profile and existing-profile join paths in E2E tests

Risk Assessment

Low — the lookup is scoped to the community onboarding profile stage, runs once per transaction, and fails open to the existing flow.

References

  • pnpm build:e2e && pnpm exec playwright test --project=integration tests/e2e/onboarding.spec.ts --grep 'first-community direct join reaches profile|community onboarding reuses an existing relay profile' (2 passed)

Generated with Codex

Co-authored-by: npub1rf6fvdj6ut0c4kcmjv4p5mmgh89nj58n69uu3fz3cvk3jn500hqs7emz79 <1a7496365ae2df8adb1b932a1a6f68b9cb3950f3d179c8a451c32d194e8f7dc1@sprout-oss.stage.blox.sqprod.co>
Signed-off-by: npub1rf6fvdj6ut0c4kcmjv4p5mmgh89nj58n69uu3fz3cvk3jn500hqs7emz79 <1a7496365ae2df8adb1b932a1a6f68b9cb3950f3d179c8a451c32d194e8f7dc1@sprout-oss.stage.blox.sqprod.co>
@baxen
baxen marked this pull request as ready for review July 20, 2026 16:00
@baxen
baxen requested a review from a team as a code owner July 20, 2026 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants