From 866a58511981b004ae94582f9f73ba0e6bf3b2cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Colin=20Axn=C3=A9r?= <25233464+colin-axner@users.noreply.github.com> Date: Wed, 7 Apr 2021 18:31:45 +0200 Subject: [PATCH] fix compile error --- read.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/read.go b/read.go index 399a133..6505155 100644 --- a/read.go +++ b/read.go @@ -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