Expand scope of prepareObjectData in ActivityPub\Receiver

This commit is contained in:
Hypolite Petovan 2020-07-20 00:38:45 -04:00
parent 259a62f9dd
commit c26cc5b75e
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ class Receiver
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
* @throws \ImagickException
*/
private static function prepareObjectData($activity, $uid, $push, &$trust_source)
public static function prepareObjectData($activity, $uid, $push, &$trust_source)
{
$actor = JsonLD::fetchElement($activity, 'as:actor', '@id');
if (empty($actor)) {