1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2025-01-23 23:39:48 +00:00

Update AP Helpers

This commit is contained in:
Daniel Supernault 2019-06-09 17:38:29 -06:00
parent 015c2f9954
commit 29022c6a79
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -357,6 +357,7 @@ class Helpers {
$fdata = new File($file);
$path = Storage::putFile($storagePath, $fdata, 'public');
$media = new Media();
$media->remote_media = true;
$media->status_id = $status->id;
$media->profile_id = $status->profile_id;
$media->user_id = null;