mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
Update HandleUpdateActivity
This commit is contained in:
parent
1bf3ad7ed9
commit
5bea903409
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue