Skip to content

Commit

Permalink
pending seems to be the better status
Browse files Browse the repository at this point in the history
  • Loading branch information
pfefferle committed Jan 20, 2025
1 parent 4b2985b commit 8a7b5cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/collection/class-outbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public static function add( $activity_object, $activity_type, $user_id, $content
'post_content' => $activity_object->to_json(),
// ensure that user ID is not below 0.
'post_author' => \max( $user_id, 0 ),
'post_status' => 'draft',
'post_status' => 'pending',
'meta_input' => array(
'_activitypub_activity_type' => $activity_type,
'_activitypub_activity_actor' => $actor,
Expand Down

3 comments on commit 8a7b5cc

@obenland
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What makes pending the better status?

@obenland
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'd also need to update the API endpoint to reflect that change

@pfefferle
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because federation is "pending"?

Please sign in to comment.