mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
Update AP Helpers, use MediaStoragePipeline
This commit is contained in:
parent
be6d12fcb6
commit
01a1ffd64a
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,7 @@ use App\Services\ActivityPubFetchService;
|
|||
use App\Services\ActivityPubDeliveryService;
|
||||
use App\Services\MediaPathService;
|
||||
use App\Services\MediaStorageService;
|
||||
use App\Jobs\MediaPipeline\MediaStoragePipeline;
|
||||
|
||||
class Helpers {
|
||||
|
||||
|
@ -400,6 +401,7 @@ class Helpers {
|
|||
$media->remote_url = $url;
|
||||
$media->mime = $type;
|
||||
$media->save();
|
||||
MediaStoragePipeline::dispatch($media);
|
||||
}
|
||||
|
||||
$status->viewType();
|
||||
|
|
Loading…
Reference in a new issue