Update StatusController, add cache invalidation for timeline cursor

This commit is contained in:
Daniel Supernault 2021-06-01 19:51:22 -06:00
parent 7cbd6bc36d
commit f3bf2fd41e
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -405,6 +405,8 @@ class StatusController extends Controller
return response()->json(0);
}
Cache::forget('profile:home-timeline-cursor:' . $request->user()->id);
foreach($views as $view) {
if(!isset($view['sid']) || !isset($view['pid'])) {
continue;