diff options
author | r <r@freesoftwareextremist.com> | 2020-09-27 10:11:18 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2020-09-27 10:11:18 +0000 |
commit | 9c5cb289f9ec9cce597a0d9ee1284cf61c69ac66 (patch) | |
tree | 65132052e520cf3653116686572b492c0cd06207 | |
parent | 2b1c703b6ca0b670a11217802d6e4d64ffbf2601 (diff) | |
download | bloat-9c5cb289f9ec9cce597a0d9ee1284cf61c69ac66.tar.gz bloat-9c5cb289f9ec9cce597a0d9ee1284cf61c69ac66.zip |
Fix next link on timeline page
-rw-r--r-- | service/service.go | 2 |
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) } |