mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-30 18:46:16 -06:00
add follow request reject to processor
This commit is contained in:
parent
6c65349e5a
commit
14bf89ff26
3 changed files with 155 additions and 5 deletions
|
|
@ -118,8 +118,10 @@ type Processor interface {
|
|||
|
||||
// FollowRequestsGet handles the getting of the authed account's incoming follow requests
|
||||
FollowRequestsGet(ctx context.Context, auth *oauth.Auth) ([]apimodel.Account, gtserror.WithCode)
|
||||
// FollowRequestAccept handles the acceptance of a follow request from the given account ID
|
||||
// FollowRequestAccept handles the acceptance of a follow request from the given account ID.
|
||||
FollowRequestAccept(ctx context.Context, auth *oauth.Auth, accountID string) (*apimodel.Relationship, gtserror.WithCode)
|
||||
// FollowRequestReject handles the rejection of a follow request from the given account ID.
|
||||
FollowRequestReject(ctx context.Context, auth *oauth.Auth, accountID string) (*apimodel.Relationship, gtserror.WithCode)
|
||||
|
||||
// InstanceGet retrieves instance information for serving at api/v1/instance
|
||||
InstanceGet(ctx context.Context, domain string) (*apimodel.Instance, gtserror.WithCode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue