Update HandleUpdateActivity

pull/4455/head
Daniel Supernault 2 years ago
parent 1bf3ad7ed9
commit 5bea903409
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -83,7 +83,7 @@ class HandleUpdateActivity implements ShouldQueue
}
if(isset($payload['object']['icon']) && isset($payload['object']['icon']['url'])) {
RemoteAvatarFetch::dispatch($profile, $payload['object']['icon']['url'])->onQueue('low');
RemoteAvatarFetchFromUrl::dispatch($profile, $payload['object']['icon']['url'])->onQueue('low');
} else {
$profile->avatar->update(['remote_url' => null]);
Cache::forget('avatar:' . $profile->id);

Loading…
Cancel
Save