summaryrefslogtreecommitdiff
path: root/internal/message/processor.go
diff options
context:
space:
mode:
authorLibravatar Tobi Smethurst <31960611+tsmethurst@users.noreply.github.com>2021-05-21 23:04:59 +0200
committerLibravatar GitHub <noreply@github.com>2021-05-21 23:04:59 +0200
commit0df2e18cc0d5440deca32681f33c66d883913901 (patch)
treed52cb72f376695c70c37377fdb03ae47177e420e /internal/message/processor.go
parentFollows and relationships (#27) (diff)
downloadgotosocial-0df2e18cc0d5440deca32681f33c66d883913901.tar.xz
Home timeline (#28)
* v. basic implementation of home timeline * Go fmt ./...
Diffstat (limited to 'internal/message/processor.go')
-rw-r--r--internal/message/processor.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/message/processor.go b/internal/message/processor.go
index e9888d647..54b2ada04 100644
--- a/internal/message/processor.go
+++ b/internal/message/processor.go
@@ -121,6 +121,9 @@ type Processor interface {
// StatusUnfave processes the unfaving of a given status, returning the updated status if the fave goes through.
StatusUnfave(authed *oauth.Auth, targetStatusID string) (*apimodel.Status, error)
+ // HomeTimelineGet returns statuses from the home timeline, with the given filters/parameters.
+ HomeTimelineGet(authed *oauth.Auth, maxID string, sinceID string, minID string, limit int, local bool) ([]apimodel.Status, ErrorWithCode)
+
/*
FEDERATION API-FACING PROCESSING FUNCTIONS
These functions are intended to be called when the federating client needs an immediate (ie., synchronous) reply