Expand scope of prepareObjectData in ActivityPub\Receiver
This commit is contained in:
parent
259a62f9dd
commit
c26cc5b75e
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user