Update Inbox, fixes #3314

This commit is contained in:
Daniel Supernault 2022-03-16 21:34:36 -06:00
parent 1c3e72c087
commit dfcd2e6d2a
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 3 additions and 0 deletions

View File

@ -182,6 +182,9 @@ class Inbox
if(!$actor || $actor->domain == null) {
return;
}
if(!isset($activity['to'])) {
return;
}
$to = $activity['to'];
$cc = isset($activity['cc']) ? $activity['cc'] : [];