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

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'] : [];