mirror of
https://github.com/writefreely/writefreely
synced 2024-11-24 09:33:11 +00:00
fix compile error
This commit is contained in:
parent
f2e3cd8bd7
commit
866a585119
1 changed files with 1 additions and 1 deletions
2
read.go
2
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
|
||||
|
|
Loading…
Reference in a new issue