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 \Friendica\Network\HTTPException\InternalServerErrorException
|
||||||
* @throws \ImagickException
|
* @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');
|
$actor = JsonLD::fetchElement($activity, 'as:actor', '@id');
|
||||||
if (empty($actor)) {
|
if (empty($actor)) {
|
||||||
|
|
Loading…
Reference in a new issue