update timeline with new posts as they come in

This commit is contained in:
tsmethurst 2021-06-03 18:11:25 +02:00
commit ab7db633d0
8 changed files with 200 additions and 16 deletions

View file

@ -137,6 +137,8 @@ type Processor interface {
// PublicTimelineGet returns statuses from the public/local timeline, with the given filters/parameters.
PublicTimelineGet(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