Skip to content

fix(profile): credit actual editor in profile-update history#115

Merged
Endika merged 1 commit into
mainfrom
fix/profile-history-actor
May 28, 2026
Merged

fix(profile): credit actual editor in profile-update history#115
Endika merged 1 commit into
mainfrom
fix/profile-history-actor

Conversation

@Endika
Copy link
Copy Markdown
Owner

@Endika Endika commented May 28, 2026

Summary

When user A edited user B's profile, the history entry said "B updated their profile" — crediting the target, not the actual editor. Now the handler accepts an actorId and renders the description accordingly:

  • Self edit: Endika updated their profile (unchanged)
  • Cross-user edit: Endika updated Maite's profile

The history entry's userId is now the actor (matches convention used by other handlers).

Test plan

  • Edit your own profile → "X updated their profile"
  • Edit another participant's profile → "X updated Y's profile"

@Endika Endika merged commit 1cf2e7a into main May 28, 2026
1 check passed
@Endika Endika deleted the fix/profile-history-actor branch May 28, 2026 20:14
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