diff options
author | 2023-07-18 09:43:17 +0100 | |
---|---|---|
committer | 2023-07-18 09:43:17 +0100 | |
commit | f4319740ab02d680961781861335285f618f5f48 (patch) | |
tree | 133595a10ec93cce9da269a4fa671c226bab7298 /internal/cache/gts.go | |
parent | [bugfix] Add missing `continue` statement in `prepareXBetweenIDs` (#1996) (diff) | |
download | gotosocial-f4319740ab02d680961781861335285f618f5f48.tar.xz |
[bugfix] more robust list timeline invalidation (#1995)v0.10.0-rc3
Diffstat (limited to 'internal/cache/gts.go')
-rw-r--r-- | internal/cache/gts.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/cache/gts.go b/internal/cache/gts.go index 4b2e65b9c..8082a9fdf 100644 --- a/internal/cache/gts.go +++ b/internal/cache/gts.go @@ -262,6 +262,7 @@ func (c *GTSCaches) initEmoji() { {Name: "URI"}, {Name: "Shortcode.Domain"}, {Name: "ImageStaticURL"}, + {Name: "CategoryID", Multi: true}, }, func(e1 *gtsmodel.Emoji) *gtsmodel.Emoji { e2 := new(gtsmodel.Emoji) *e2 = *e1 @@ -338,6 +339,8 @@ func (c *GTSCaches) initList() { func (c *GTSCaches) initListEntry() { c.listEntry = result.New([]result.Lookup{ {Name: "ID"}, + {Name: "ListID", Multi: true}, + {Name: "FollowID", Multi: true}, }, func(l1 *gtsmodel.ListEntry) *gtsmodel.ListEntry { l2 := new(gtsmodel.ListEntry) *l2 = *l1 |