mirror of
https://github.com/friendica/friendica
synced 2024-12-23 08:00:16 +00:00
Expand scope of prepareObjectData in ActivityPub\Receiver
This commit is contained in:
parent
259a62f9dd
commit
c26cc5b75e
1 changed files with 1 additions and 1 deletions
|
@ -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