mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-18 06:53:00 -06:00
remote + local block logic, incl. federation
This commit is contained in:
parent
c7da64922f
commit
861cc1dff1
32 changed files with 1126 additions and 44 deletions
|
|
@ -59,3 +59,11 @@ func (p *processor) AccountFollowCreate(authed *oauth.Auth, form *apimodel.Accou
|
|||
func (p *processor) AccountFollowRemove(authed *oauth.Auth, targetAccountID string) (*apimodel.Relationship, gtserror.WithCode) {
|
||||
return p.accountProcessor.FollowRemove(authed.Account, targetAccountID)
|
||||
}
|
||||
|
||||
func (p *processor) AccountBlockCreate(authed *oauth.Auth, targetAccountID string) (*apimodel.Relationship, gtserror.WithCode) {
|
||||
return p.accountProcessor.BlockCreate(authed.Account, targetAccountID)
|
||||
}
|
||||
|
||||
func (p *processor) AccountBlockRemove(authed *oauth.Auth, targetAccountID string) (*apimodel.Relationship, gtserror.WithCode) {
|
||||
return p.accountProcessor.BlockRemove(authed.Account, targetAccountID)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue