-
Notifications
You must be signed in to change notification settings - Fork 81
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
Outbox: Don't federate Updates to unfederated posts. #1338
base: trunk
Are you sure you want to change the base?
Conversation
Should we add an "older than x month" to the check? |
What would be the benefit of that? |
To prevent that an up-to-date post won't be federated when the |
Interesting, I've not considered that. We don't currently check for an existing Create, is that even applicable? |
@obenland because all instances I tested so far, support |
This is btw. nothing that can only happen to posts... we should also have a look at comments... |
Are those consuming instances or instances where there's a mix of federated and unfederated content? I'm trying to understand how that relates? With this change we might want to introduce a way to explicitly federate a previously unfederated post. Could be an action link and/or bulk edit action in the posts list or something. I'd also be curious whether there's a way to determine whether a unfederated post had its activitypub visibility set to public, to change it that way |
the problem is, that we decided to have "public" the default, so we do not store anything in the metas when a post should be federate as public! we can change that though. but the side effect of that change would be, that posts that are written using a third party app wouldn't be federated. |
This will require some scrutiny. For example, this ignores changing content visibility in the Editor for old posts.
Not quite sure how to account for that in the callback, since post meta gets updated before
transition_post_status
runs and it's impossible to differentiate between a post with public visibility and one that doesn't have the post meta.Proposed changes:
Other information:
Testing instructions: