Move following.php to correct directory

This commit is contained in:
Jeremy Dormitzer 2018-09-04 22:21:22 -06:00
parent 2bc8894685
commit db5c669254

View File

@ -8,7 +8,10 @@ function request_follow( $actor_id, $object ) {
global $wpdb;
return $wpdb->insert(
'activitypub_following',
array( 'actor_id' => $actor_id, 'object' => wp_json_encode( $object ) )
array( 'actor_id' => $actor_id,
'object' => wp_json_encode( $object ),
'state' => $PENDING
)
);
}