Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Used actor URI in site.changed update activity #30

Merged

Conversation

mike182uk
Copy link
Member

refs AP-357

When publishing an update as a result of processing a site.changed webhook it was noticed that Mastodon was triggering a re-follow of the actor. This down to the publicKey property contained in the update object being different to the one Mastodon has stored for the actor. In the case here, publicKey is actually missing from the actor due to a serialisation issue within Fedify, so have opted to use the id of the actor instead of the full actor object and let Mastodon dereference to get the updated actor object

refs [AP-357](https://linear.app/tryghost/issue/AP-357/publickey-mismatch-on-update-causing-re-follows)

When publishing an update as a result of processing a `site.changed` webhook it
was noticed that Mastodon was triggering a re-follow of the actor. This down to
the `publicKey` property contained in the update object being different
to the one Mastodon has stored for the actor. In the case here, `publicKey` is
actually missing from the actor due to a serialisation issue within Fedify, so
have opted to use the `id` of the actor instead of the full actor object and let
Mastodon dereference to get the updated actor object
@mike182uk mike182uk merged commit adf2431 into main Aug 22, 2024
1 check passed
@mike182uk mike182uk deleted the mike-ap-357-publickey-mismatch-on-update-causing-re-follows branch August 28, 2024 08:40
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