]> git.mxchange.org Git - friendica.git/commitdiff
Expand scope of prepareObjectData in ActivityPub\Receiver
authorHypolite Petovan <hypolite@mrpetovan.com>
Mon, 20 Jul 2020 04:38:45 +0000 (00:38 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 20 Jul 2020 04:38:45 +0000 (00:38 -0400)
src/Protocol/ActivityPub/Receiver.php

index 5accfec04460a92bd7662a6ac60d598a60528bf8..51157c259a0a41c59ea3ef2ee2c91330b43a44e7 100644 (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)) {