add internal/{processor,streaming}
This commit is contained in:
parent
6f17b59a47
commit
5c6da51234
6 changed files with 128 additions and 29 deletions
|
@ -92,6 +92,6 @@ func (app *App) Create(w http.ResponseWriter, r *http.Request) (api.Post, error)
|
|||
return api.Post{}, err
|
||||
}
|
||||
|
||||
// TODO: federate post + push to websockets
|
||||
go app.Processor.HandlePost(post)
|
||||
return api.DBPostToPost(post, blog, acct), nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue