mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update FollowPipeline, fix cache invalidation bug
This commit is contained in:
parent
1060dd23d5
commit
c1f14f89f6
1 changed files with 51 additions and 48 deletions
|
@ -46,6 +46,9 @@ class FollowPipeline implements ShouldQueue
|
|||
$actor = $follower->actor;
|
||||
$target = $follower->target;
|
||||
|
||||
Cache::forget('profile:following:' . $actor->id);
|
||||
Cache::forget('profile:following:' . $target->id);
|
||||
|
||||
if($target->domain || !$target->private_key) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue