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

Use the ActivityPub blog user as an actor if set to blog profile only #411

Merged
merged 3 commits into from
Dec 13, 2024

Conversation

akirk
Copy link
Owner

@akirk akirk commented Dec 11, 2024

Fixes #410

Instead of $actor = \get_author_posts_url( $user_id ); we now use $actor = \Activitypub\Collection\Actors::get_by_id( $user_id ); which also work for the ActivityPub blog actor.

@akirk
Copy link
Owner Author

akirk commented Dec 11, 2024

@pfefferle is this a good way to do it?

@akirk
Copy link
Owner Author

akirk commented Dec 12, 2024

@pfefferle my question was more whether it's ok to use such an Activitypub\Collection\Actor for $activity->set_actor( $actor );

@akirk akirk merged commit 2879032 into main Dec 13, 2024
27 checks passed
@akirk akirk deleted the activitypub-blog-actor branch December 13, 2024 10:31
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.

ActivityPub: use the blog user to follow when only the blog profile is enabled
2 participants