summaryrefslogtreecommitdiff
path: root/internal/state/state.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/state/state.go')
-rw-r--r--internal/state/state.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/state/state.go b/internal/state/state.go
index f374bc162..6ff1baa52 100644
--- a/internal/state/state.go
+++ b/internal/state/state.go
@@ -21,6 +21,7 @@ import (
"github.com/superseriousbusiness/gotosocial/internal/cache"
"github.com/superseriousbusiness/gotosocial/internal/db"
"github.com/superseriousbusiness/gotosocial/internal/storage"
+ "github.com/superseriousbusiness/gotosocial/internal/timeline"
"github.com/superseriousbusiness/gotosocial/internal/workers"
)
@@ -34,6 +35,9 @@ type State struct {
// Caches provides access to this state's collection of caches.
Caches cache.Caches
+ // Timelines provides access to this state's collection of timelines.
+ Timelines timeline.Timelines
+
// DB provides access to the database.
DB db.DB