fix compile error
This commit is contained in:
parent
f2e3cd8bd7
commit
866a585119
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.
|
// the boolean passed in is true.
|
||||||
func updateTimelineCache(tl *localTimeline, reset bool) {
|
func updateTimelineCache(tl *localTimeline, reset bool) {
|
||||||
if reset {
|
if reset {
|
||||||
tl.Reset()
|
tl.m.Reset()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fetch posts if the cache is empty, has been reset or enough time has
|
// Fetch posts if the cache is empty, has been reset or enough time has
|
||||||
|
|
Loading…
Reference in New Issue