mirror of
https://github.com/friendica/friendica
synced 2025-04-22 17:50:11 +00:00
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 [];
|
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…
Add table
Add a link
Reference in a new issue