1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-24 16:53:17 +00:00

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