summaryrefslogtreecommitdiff
path: root/internal/db/status.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/db/status.go')
-rw-r--r--internal/db/status.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/db/status.go b/internal/db/status.go
index f854664c8..15d1362f5 100644
--- a/internal/db/status.go
+++ b/internal/db/status.go
@@ -29,6 +29,9 @@ type Status interface {
// GetStatusByID returns one status from the database, with no rel fields populated, only their linking ID / URIs
GetStatusByID(ctx context.Context, id string) (*gtsmodel.Status, Error)
+ // GetStatuses gets a slice of statuses corresponding to the given status IDs.
+ GetStatuses(ctx context.Context, ids []string) ([]*gtsmodel.Status, Error)
+
// GetStatusByURI returns one status from the database, with no rel fields populated, only their linking ID / URIs
GetStatusByURI(ctx context.Context, uri string) (*gtsmodel.Status, Error)