diff options
Diffstat (limited to 'internal/db/timeline.go')
-rw-r--r-- | internal/db/timeline.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/db/timeline.go b/internal/db/timeline.go index 40d5b8015..43ac655d0 100644 --- a/internal/db/timeline.go +++ b/internal/db/timeline.go @@ -48,4 +48,8 @@ type Timeline interface { // GetListTimeline returns a slice of statuses from followed accounts collected within the list with the given listID. // Statuses should be returned in descending order of when they were created (newest first). GetListTimeline(ctx context.Context, listID string, maxID string, sinceID string, minID string, limit int) ([]*gtsmodel.Status, error) + + // GetTagTimeline returns a slice of public-visibility statuses that use the given tagID. + // Statuses should be returned in descending order of when they were created (newest first). + GetTagTimeline(ctx context.Context, tagID string, maxID string, sinceID string, minID string, limit int) ([]*gtsmodel.Status, error) } |