Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
akirk committed Feb 20, 2025
1 parent 56d7740 commit 48541da
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions feed-parsers/class-feed-parser-activitypub.php
Original file line number Diff line number Diff line change
Expand Up @@ -1989,7 +1989,7 @@ public function activitypub_like_post( $url, $external_post_id, $user_id ) {
$json = $activity->to_json();

if ( version_compare( ACTIVITYPUB_PLUGIN_VERSION, '5.2.0', '>=' ) ) {
$inboxes = \Activitypub\Followers::get_inboxes_for_activity( $json, $actor->get__id(), 500 );
$inboxes = \Activitypub\Collection\Followers::get_inboxes_for_activity( $json, $actor->get__id(), 500 );
} else {
$inboxes = apply_filters( 'activitypub_send_to_inboxes', array(), $user_id, $activity );
$inboxes = array_unique( $inboxes );
Expand Down Expand Up @@ -2130,7 +2130,7 @@ public function activitypub_unlike_post( $url, $external_post_id, $user_id ) {

$json = $activity->to_json();
if ( version_compare( ACTIVITYPUB_PLUGIN_VERSION, '5.2.0', '>=' ) ) {
$inboxes = \Activitypub\Followers::get_inboxes_for_activity( $json, $actor->get__id(), 500 );
$inboxes = \Activitypub\Collection\Followers::get_inboxes_for_activity( $json, $actor->get__id(), 500 );
} else {
$inboxes = apply_filters( 'activitypub_send_to_inboxes', array(), $user_id, $activity );
$inboxes = array_unique( $inboxes );
Expand Down Expand Up @@ -2379,7 +2379,7 @@ public function activitypub_announce( $url, $user_id ) {

$json = $activity->to_json();
if ( version_compare( ACTIVITYPUB_PLUGIN_VERSION, '5.2.0', '>=' ) ) {
$inboxes = \Activitypub\Followers::get_inboxes_for_activity( $json, $actor->get__id(), 500 );
$inboxes = \Activitypub\Collection\Followers::get_inboxes_for_activity( $json, $actor->get__id(), 500 );
} else {
$inboxes = apply_filters( 'activitypub_send_to_inboxes', array(), $user_id, $activity );
$inboxes = array_unique( $inboxes );
Expand Down Expand Up @@ -2475,7 +2475,7 @@ public function activitypub_unannounce( $url, $user_id ) {

$json = $activity->to_json();
if ( version_compare( ACTIVITYPUB_PLUGIN_VERSION, '5.2.0', '>=' ) ) {
$inboxes = \Activitypub\Followers::get_inboxes_for_activity( $json, $actor->get__id(), 500 );
$inboxes = \Activitypub\Collection\Followers::get_inboxes_for_activity( $json, $actor->get__id(), 500 );
} else {
$inboxes = apply_filters( 'activitypub_send_to_inboxes', array(), $user_id, $activity );
$inboxes = array_unique( $inboxes );
Expand Down

0 comments on commit 48541da

Please sign in to comment.