Also need to declare $profile or otherwise an invocation of

Receiver::getReceiverForActor() will fail.
pull/11653/head
Roland Häder 2022-06-17 09:51:11 +02:00
rodzic af8cd5ca86
commit 0c9aff8a09
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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');