mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 04:15:12 +00:00
null array in addressing
This commit is contained in:
parent
0b4e506444
commit
25ebcf8aa4
1 changed files with 5 additions and 0 deletions
|
@ -910,6 +910,8 @@ class Activity {
|
|||
$parent_i = [];
|
||||
$public = (($i['item_private']) ? false : true);
|
||||
$top_level = (($reply) ? false : true);
|
||||
$ret['to'] = [];
|
||||
$ret['cc'] = [];
|
||||
|
||||
if (! $top_level) {
|
||||
$recips = get_iconfig($i['parent'], 'activitypub', 'recips');
|
||||
|
@ -1346,6 +1348,9 @@ class Activity {
|
|||
if ($activitypub) {
|
||||
|
||||
$parent_i = [];
|
||||
$ret['to'] = [];
|
||||
$ret['cc'] = [];
|
||||
|
||||
$public = (($i['item_private']) ? false : true);
|
||||
$top_level = (($i['mid'] === $i['parent_mid']) ? true : false);
|
||||
|
||||
|
|
Loading…
Reference in a new issue