Skip to content

Commit d564915

Browse files
authored
fix function call (#503)
1 parent 2ef72a0 commit d564915

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

includes/class-mention.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
namespace Activitypub;
33

44
use WP_Error;
5+
use Activitypub\Webfinger;
56

67
/**
78
* ActivityPub Mention Class

integration/class-webfinger.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
22
namespace Activitypub\Integration;
33

4+
use Activitypub\Rest\Webfinger as Webfinger_Rest;
45
use Activitypub\Collection\Users as User_Collection;
56

67
/**
@@ -52,6 +53,6 @@ public static function add_pseudo_user_discovery( $array, $resource ) {
5253
return $array;
5354
}
5455

55-
return self::get_profile( $resource );
56+
return Webfinger_Rest::get_profile( $resource );
5657
}
5758
}

0 commit comments

Comments
 (0)