fix some small issues
This commit is contained in:
parent
b744dc551d
commit
f2b231ccac
2 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ class Activity_Dispatcher {
|
|||
return;
|
||||
}
|
||||
|
||||
$activity = $transformer->to_activity( 'Create' );
|
||||
$activity = $transformer->to_activity( $type );
|
||||
|
||||
$follower_inboxes = Followers::get_inboxes( $user_id );
|
||||
$mentioned_inboxes = Mention::get_inboxes( $activity->get_cc() );
|
||||
|
|
|
@ -377,7 +377,7 @@ class Post extends Base {
|
|||
*
|
||||
* @return string The Object-Type.
|
||||
*/
|
||||
protected function get_object_type() {
|
||||
protected function get_type() {
|
||||
if ( 'wordpress-post-format' !== \get_option( 'activitypub_object_type', 'note' ) ) {
|
||||
return \ucfirst( \get_option( 'activitypub_object_type', 'note' ) );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue