Fix next link on timeline page

master
r 2 years ago
parent 2b1c703b6c
commit 9c5cb289f9
  1. 2
      service/service.go

@ -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)
}

Loading…
Cancel
Save