Update FollowPipeline, fix cache invalidation bug

This commit is contained in:
Daniel Supernault 2021-07-25 01:36:57 -06:00
parent 1060dd23d5
commit c1f14f89f6
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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;
}