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

Correct addressing #12

Merged
merged 2 commits into from
Jul 31, 2024
Merged

Correct addressing #12

merged 2 commits into from
Jul 31, 2024

Conversation

allouis
Copy link
Collaborator

@allouis allouis commented Jul 30, 2024

ref https://linear.app/tryghost/issue/MOM-329

The to field for Create

activities was incorrectly set to the
followers collection, but the content is intended to be public. This may have
been causing issues with users being able to see the content depending on if
they are following the actor.

What we've fixed here is made public activities addressed to the public
collection, and adding a cc to the followers because they are also an
intended recipient, though not the primary.

Using a shared inbox make for less network requests when delivering activities
and increases performance in terms of both load on the server as well as
delivery times because recipients on the same server can all be informed by the
same request

allouis added 2 commits July 28, 2024 12:10
The `to` field for Create<Article> activities was incorrectly set to the
followers collection, but the content is intended to be public. This may have
been causing issues with users being able to see the content depending on if
they are following the actor.

What we've fixed here is made public activities addressed `to` the public
collection, and adding a `cc` to the followers because they are also an
intended recipient, though not the primary.
Using a shared inbox make for less network requests when delivering activities
and increases performance in terms of both load on the server as well as
delivery times because recipients on the same server can all be informed by the
same request
@allouis allouis requested a review from mike182uk July 31, 2024 10:49
@allouis allouis merged commit 4cffa0c into main Jul 31, 2024
1 check passed
@allouis allouis deleted the correct-addressing branch July 31, 2024 10:54
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