fix compile error

This commit is contained in:
Colin Axnér 2021-04-07 18:31:45 +02:00
parent f2e3cd8bd7
commit 866a585119
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ func viewLocalTimeline(app *App, w http.ResponseWriter, r *http.Request) error {
// the boolean passed in is true.
func updateTimelineCache(tl *localTimeline, reset bool) {
if reset {
tl.Reset()
tl.m.Reset()
}
// Fetch posts if the cache is empty, has been reset or enough time has