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

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)) {