summaryrefslogtreecommitdiff
path: root/internal/db
diff options
context:
space:
mode:
Diffstat (limited to 'internal/db')
-rw-r--r--internal/db/bundb/timeline.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/db/bundb/timeline.go b/internal/db/bundb/timeline.go
index fabfe2797..87e7751d2 100644
--- a/internal/db/bundb/timeline.go
+++ b/internal/db/bundb/timeline.go
@@ -61,7 +61,7 @@ func (t *timelineDB) GetHomeTimeline(ctx context.Context, accountID string, maxI
bun.Ident("follow.account_id"),
accountID)
- if maxID == "" || maxID == id.Highest {
+ if maxID == "" || maxID >= id.Highest {
const future = 24 * time.Hour
var err error