Skip to content

Use Friends avatar for non-reblog posts - #621

Merged
akirk merged 1 commit into
mainfrom
fix/use-friends-avatar-for-non-reblogs
Mar 26, 2026
Merged

Use Friends avatar for non-reblog posts#621
akirk merged 1 commit into
mainfrom
fix/use-friends-avatar-for-non-reblogs

Conversation

@akirk

@akirk akirk commented Mar 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • The ActivityPub plugin's ap_actor data can have a stale avatar URL when a remote user updates their profile picture, while the Friends subscription keeps a more current copy
  • Only use ActivityPub actor metadata avatar for reblogs (where we need the original author's avatar); for regular posts, use the Friends subscription avatar

Test plan

  • Check that non-reblog posts from ActivityPub subscriptions show the current avatar from the Friends subscription
  • Check that reblogs still show the original author's avatar (from ActivityPub actor metadata)
  • Verify the edit-friend page avatar matches what's shown in the feed

Test in WordPress Playground

…data

The ap_actor stored in the ActivityPub plugin can have a stale avatar URL
(e.g. when a Mastodon user updates their profile picture), while the
Friends subscription keeps a more current copy. Only fall back to the
ActivityPub actor metadata for reblogs where we need the original author's
avatar.
@akirk
akirk merged commit 1f79f9d into main Mar 26, 2026
25 checks passed
@akirk
akirk deleted the fix/use-friends-avatar-for-non-reblogs branch March 26, 2026 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant