Also need to declare $profile or otherwise an invocation of
Receiver::getReceiverForActor() will fail.
This commit is contained in:
parent
af8cd5ca86
commit
0c9aff8a09
|
@ -880,7 +880,7 @@ class Receiver
|
|||
*/
|
||||
private static function getReceivers(array $activity, string $actor, array $tags = [], bool $fetch_unlisted = false): array
|
||||
{
|
||||
$reply = $receivers = [];
|
||||
$reply = $receivers = $profile = [];
|
||||
|
||||
// When it is an answer, we inherite the receivers from the parent
|
||||
$replyto = JsonLD::fetchElement($activity, 'as:inReplyTo', '@id');
|
||||
|
|
Loading…
Reference in a new issue