The original content of the post hadn't always been stored

This commit is contained in:
Michael 2020-03-03 21:58:03 +00:00
parent d63e903d9f
commit e38640da76
3 changed files with 7 additions and 3 deletions

View file

@ -209,7 +209,7 @@ class ActivityPub
foreach ($items as $activity) {
$ldactivity = JsonLD::compact($activity);
ActivityPub\Receiver::processActivity($ldactivity, '', $uid, true);
ActivityPub\Receiver::processActivity($ldactivity, json_encode($activity), $uid, true);
}
}