1
0
mirror of https://github.com/Luzifer/mediatimeline.git synced 2024-09-16 14:38:27 +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
}
return s.s[start:num]
return s.s[start : start+num]
}
// GetTweetsSince returns all tweets newer than the given tweet ID