Skip to content

fix(forum): preserve resolved authors across restarts#113

Merged
wesbillman merged 4 commits intomainfrom
docs/forum-relay-key-note
Mar 19, 2026
Merged

fix(forum): preserve resolved authors across restarts#113
wesbillman merged 4 commits intomainfrom
docs/forum-relay-key-note

Conversation

@wesbillman
Copy link
Collaborator

@wesbillman wesbillman commented Mar 19, 2026

Summary

  • merge the loaded current profile into forum author lookups so your own posts keep a resolved label after reload
  • recover the attributed author from the first p tag for relay-signed forum posts and replies
  • document SPROUT_RELAY_PRIVATE_KEY in .env.example for stable relay signing in local dev

Context

DMs and channels were already stable because they use different rendering and signing paths. Forum was the weak spot: it relied on a separate batch profile lookup for self-resolution, and older relay-signed forum events can still carry the real author in the first p tag even when the serialized pubkey path has drifted.

Testing

  • source ./bin/activate-hermit && cd desktop && pnpm typecheck
  • source ./bin/activate-hermit && cd desktop && pnpm check
  • git push pre-push checks passed (desktop-check, desktop-build, desktop-tauri-check, rust-fmt, rust-clippy, rust-tests)

@wesbillman wesbillman changed the title docs: note stable relay key for forum posts fix(forum): preserve resolved authors across restarts Mar 19, 2026
@wesbillman wesbillman merged commit 3eee3f7 into main Mar 19, 2026
8 checks passed
@wesbillman wesbillman deleted the docs/forum-relay-key-note branch March 19, 2026 16:20
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.

1 participant