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 New Issue