Initialize $permissions variable in ActivityPub\Transmitter::fetchPermissionBlockFromConversation
- Address https://github.com/friendica/friendica/issues/10757#issuecomment-927361800
This commit is contained in:
parent
e6a07832dd
commit
b04809ced4
|
@ -437,6 +437,13 @@ class Transmitter
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$permissions = [
|
||||||
|
'to' => [],
|
||||||
|
'cc' => [],
|
||||||
|
'bto' => [],
|
||||||
|
'bcc' => [],
|
||||||
|
];
|
||||||
|
|
||||||
$activity = json_decode($conversation['source'], true);
|
$activity = json_decode($conversation['source'], true);
|
||||||
|
|
||||||
$actor = JsonLD::fetchElement($activity, 'actor', 'id');
|
$actor = JsonLD::fetchElement($activity, 'actor', 'id');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user