|
|
@ -13,6 +13,7 @@ use Illuminate\Queue\InteractsWithQueue;
|
|
|
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
|
|
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
|
|
|
use Illuminate\Foundation\Bus\Dispatchable;
|
|
|
|
use Illuminate\Foundation\Bus\Dispatchable;
|
|
|
|
use App\Jobs\StatusPipeline\NewStatusPipeline;
|
|
|
|
use App\Jobs\StatusPipeline\NewStatusPipeline;
|
|
|
|
|
|
|
|
use App\Jobs\ImageOptimizePipeline\ImageThumbnail;
|
|
|
|
|
|
|
|
|
|
|
|
class RemoteFollowImportRecent implements ShouldQueue
|
|
|
|
class RemoteFollowImportRecent implements ShouldQueue
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -217,6 +218,8 @@ class RemoteFollowImportRecent implements ShouldQueue
|
|
|
|
$media->mime = $mime;
|
|
|
|
$media->mime = $mime;
|
|
|
|
$media->save();
|
|
|
|
$media->save();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ImageThumbnail::dispatch($media);
|
|
|
|
|
|
|
|
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
} catch (Exception $e) {
|
|
|
|
} catch (Exception $e) {
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|