1
0
Fork 0
mirror of https://github.com/Luzifer/mediatimeline.git synced 2024-11-09 15:20:05 +00:00

Fix pagination

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2020-01-12 19:18:50 +01:00
parent 3f327825d7
commit 9fcbb4f443
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -89,7 +89,7 @@ func (s *store) GetTweetPage(page int) []tweet {
num = len(s.s) - start num = len(s.s) - start
} }
return s.s[start:num] return s.s[start : start+num]
} }
// GetTweetsSince returns all tweets newer than the given tweet ID // GetTweetsSince returns all tweets newer than the given tweet ID