mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-03 04:52:25 -06:00
status boosts (#16)
This commit is contained in:
parent
6f5c045284
commit
3c539cdfd6
7 changed files with 447 additions and 1 deletions
|
|
@ -77,6 +77,8 @@ type Processor interface {
|
|||
StatusDelete(authed *oauth.Auth, targetStatusID string) (*apimodel.Status, error)
|
||||
// StatusFave processes the faving of a given status, returning the updated status if the fave goes through.
|
||||
StatusFave(authed *oauth.Auth, targetStatusID string) (*apimodel.Status, error)
|
||||
// StatusBoost processes the boost/reblog of a given status, returning the newly-created boost if all is well.
|
||||
StatusBoost(authed *oauth.Auth, targetStatusID string) (*apimodel.Status, ErrorWithCode)
|
||||
// StatusFavedBy returns a slice of accounts that have liked the given status, filtered according to privacy settings.
|
||||
StatusFavedBy(authed *oauth.Auth, targetStatusID string) ([]*apimodel.Account, error)
|
||||
// StatusGet gets the given status, taking account of privacy settings and blocks etc.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue