diff options
| author | 2021-05-21 23:04:59 +0200 | |
|---|---|---|
| committer | 2021-05-21 23:04:59 +0200 | |
| commit | 0df2e18cc0d5440deca32681f33c66d883913901 (patch) | |
| tree | d52cb72f376695c70c37377fdb03ae47177e420e /internal/message/processor.go | |
| parent | Follows and relationships (#27) (diff) | |
| download | gotosocial-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.go | 3 |
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 |
