Merge pull request #11074 from MrPetovan/bug/warnings
Initialize $permissions variable in ActivityPub\Transmitter::fetchPermissionBlockFromConversation
This commit is contained in:
commit
3d08f54966
1 changed files with 7 additions and 0 deletions
|
@ -437,6 +437,13 @@ class Transmitter
|
|||
return [];
|
||||
}
|
||||
|
||||
$permissions = [
|
||||
'to' => [],
|
||||
'cc' => [],
|
||||
'bto' => [],
|
||||
'bcc' => [],
|
||||
];
|
||||
|
||||
$activity = json_decode($conversation['source'], true);
|
||||
|
||||
$actor = JsonLD::fetchElement($activity, 'actor', 'id');
|
||||
|
|
Loading…
Reference in a new issue