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

Update RemoteFollow Pipeline

This commit is contained in:
Daniel Supernault 2018-08-25 21:15:19 -06:00
parent 87a7fc5cdd
commit 2a3aa3f85b
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

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