mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update StatusController, add cache invalidation for timeline cursor
This commit is contained in:
parent
7cbd6bc36d
commit
f3bf2fd41e
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue