aboutsummaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-09-27 10:11:18 +0000
committerr <r@freesoftwareextremist.com>2020-09-27 10:11:18 +0000
commit9c5cb289f9ec9cce597a0d9ee1284cf61c69ac66 (patch)
tree65132052e520cf3653116686572b492c0cd06207 /service
parent2b1c703b6ca0b670a11217802d6e4d64ffbf2601 (diff)
downloadbloat-9c5cb289f9ec9cce597a0d9ee1284cf61c69ac66.tar.gz
bloat-9c5cb289f9ec9cce597a0d9ee1284cf61c69ac66.zip
Fix next link on timeline page
Diffstat (limited to 'service')
-rw-r--r--service/service.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/service.go b/service/service.go
index 9190ca4..c04557e 100644
--- a/service/service.go
+++ b/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)
}