mirror of
https://git.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-25 21:31:27 +00:00
Fix next link on timeline page
This commit is contained in:
parent
2b1c703b6c
commit
9c5cb289f9
|
@ -273,7 +273,7 @@ func (svc *service) ServeTimelinePage(c *model.Client, tType string,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(pg.MaxID) > 0 {
|
if len(pg.MaxID) > 0 && len(statuses) == 20 {
|
||||||
nextLink = fmt.Sprintf("/timeline/%s?max_id=%s", tType, pg.MaxID)
|
nextLink = fmt.Sprintf("/timeline/%s?max_id=%s", tType, pg.MaxID)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue