mirror of
https://github.com/Luzifer/mediatimeline.git
synced 2024-09-18 23:42:56 +00:00
Fix pagination
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
3f327825d7
commit
9fcbb4f443
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user