summaryrefslogtreecommitdiff
path: root/internal/processing/account/bookmarks.go
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2023-07-18 09:43:17 +0100
committerLibravatar GitHub <noreply@github.com>2023-07-18 09:43:17 +0100
commitf4319740ab02d680961781861335285f618f5f48 (patch)
tree133595a10ec93cce9da269a4fa671c226bab7298 /internal/processing/account/bookmarks.go
parent[bugfix] Add missing `continue` statement in `prepareXBetweenIDs` (#1996) (diff)
downloadgotosocial-f4319740ab02d680961781861335285f618f5f48.tar.xz
[bugfix] more robust list timeline invalidation (#1995)v0.10.0-rc3
Diffstat (limited to 'internal/processing/account/bookmarks.go')
-rw-r--r--internal/processing/account/bookmarks.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/processing/account/bookmarks.go b/internal/processing/account/bookmarks.go
index 32075f592..c6b0c14c1 100644
--- a/internal/processing/account/bookmarks.go
+++ b/internal/processing/account/bookmarks.go
@@ -82,6 +82,7 @@ func (p *Processor) BookmarksGet(ctx context.Context, requestingAccount *gtsmode
if bookmark.ID < nextMaxIDValue {
nextMaxIDValue = bookmark.ID // Lowest ID (for paging down).
}
+
if bookmark.ID > prevMinIDValue {
prevMinIDValue = bookmark.ID // Highest ID (for paging up).
}