Update FollowPipeline, fix cache invalidation bug
This commit is contained in:
parent
1060dd23d5
commit
c1f14f89f6
|
@ -46,6 +46,9 @@ class FollowPipeline implements ShouldQueue
|
||||||
$actor = $follower->actor;
|
$actor = $follower->actor;
|
||||||
$target = $follower->target;
|
$target = $follower->target;
|
||||||
|
|
||||||
|
Cache::forget('profile:following:' . $actor->id);
|
||||||
|
Cache::forget('profile:following:' . $target->id);
|
||||||
|
|
||||||
if($target->domain || !$target->private_key) {
|
if($target->domain || !$target->private_key) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue