diff options
Diffstat (limited to 'internal/processing/federation')
| -rw-r--r-- | internal/processing/federation/getfollowers.go | 2 | ||||
| -rw-r--r-- | internal/processing/federation/getfollowing.go | 2 | ||||
| -rw-r--r-- | internal/processing/federation/getoutbox.go | 2 | ||||
| -rw-r--r-- | internal/processing/federation/getstatus.go | 2 | ||||
| -rw-r--r-- | internal/processing/federation/getstatusreplies.go | 2 | ||||
| -rw-r--r-- | internal/processing/federation/getuser.go | 2 | 
6 files changed, 6 insertions, 6 deletions
| diff --git a/internal/processing/federation/getfollowers.go b/internal/processing/federation/getfollowers.go index 9153cde1e..c15b2b6c4 100644 --- a/internal/processing/federation/getfollowers.go +++ b/internal/processing/federation/getfollowers.go @@ -41,7 +41,7 @@ func (p *processor) GetFollowers(ctx context.Context, requestedUsername string,  		return nil, gtserror.NewErrorNotAuthorized(errors.New("not authorized"), "not authorized")  	} -	requestingAccount, _, err := p.federator.GetRemoteAccount(ctx, requestedUsername, requestingAccountURI, false) +	requestingAccount, err := p.federator.GetRemoteAccount(ctx, requestedUsername, requestingAccountURI, false, false)  	if err != nil {  		return nil, gtserror.NewErrorNotAuthorized(err)  	} diff --git a/internal/processing/federation/getfollowing.go b/internal/processing/federation/getfollowing.go index 8a3025154..d2beaada0 100644 --- a/internal/processing/federation/getfollowing.go +++ b/internal/processing/federation/getfollowing.go @@ -41,7 +41,7 @@ func (p *processor) GetFollowing(ctx context.Context, requestedUsername string,  		return nil, gtserror.NewErrorNotAuthorized(errors.New("not authorized"), "not authorized")  	} -	requestingAccount, _, err := p.federator.GetRemoteAccount(ctx, requestedUsername, requestingAccountURI, false) +	requestingAccount, err := p.federator.GetRemoteAccount(ctx, requestedUsername, requestingAccountURI, false, false)  	if err != nil {  		return nil, gtserror.NewErrorNotAuthorized(err)  	} diff --git a/internal/processing/federation/getoutbox.go b/internal/processing/federation/getoutbox.go index 0f2043447..944c0b571 100644 --- a/internal/processing/federation/getoutbox.go +++ b/internal/processing/federation/getoutbox.go @@ -42,7 +42,7 @@ func (p *processor) GetOutbox(ctx context.Context, requestedUsername string, pag  		return nil, gtserror.NewErrorNotAuthorized(errors.New("not authorized"), "not authorized")  	} -	requestingAccount, _, err := p.federator.GetRemoteAccount(ctx, requestedUsername, requestingAccountURI, false) +	requestingAccount, err := p.federator.GetRemoteAccount(ctx, requestedUsername, requestingAccountURI, false, false)  	if err != nil {  		return nil, gtserror.NewErrorNotAuthorized(err)  	} diff --git a/internal/processing/federation/getstatus.go b/internal/processing/federation/getstatus.go index f065eaa71..1651516b5 100644 --- a/internal/processing/federation/getstatus.go +++ b/internal/processing/federation/getstatus.go @@ -43,7 +43,7 @@ func (p *processor) GetStatus(ctx context.Context, requestedUsername string, req  		return nil, gtserror.NewErrorNotAuthorized(errors.New("not authorized"), "not authorized")  	} -	requestingAccount, _, err := p.federator.GetRemoteAccount(ctx, requestedUsername, requestingAccountURI, false) +	requestingAccount, err := p.federator.GetRemoteAccount(ctx, requestedUsername, requestingAccountURI, false, false)  	if err != nil {  		return nil, gtserror.NewErrorNotAuthorized(err)  	} diff --git a/internal/processing/federation/getstatusreplies.go b/internal/processing/federation/getstatusreplies.go index 4fc21e3ad..c6db4dd3e 100644 --- a/internal/processing/federation/getstatusreplies.go +++ b/internal/processing/federation/getstatusreplies.go @@ -43,7 +43,7 @@ func (p *processor) GetStatusReplies(ctx context.Context, requestedUsername stri  		return nil, gtserror.NewErrorNotAuthorized(errors.New("not authorized"), "not authorized")  	} -	requestingAccount, _, err := p.federator.GetRemoteAccount(ctx, requestedUsername, requestingAccountURI, false) +	requestingAccount, err := p.federator.GetRemoteAccount(ctx, requestedUsername, requestingAccountURI, false, false)  	if err != nil {  		return nil, gtserror.NewErrorNotAuthorized(err)  	} diff --git a/internal/processing/federation/getuser.go b/internal/processing/federation/getuser.go index a8d6bcf38..6d5b8463f 100644 --- a/internal/processing/federation/getuser.go +++ b/internal/processing/federation/getuser.go @@ -54,7 +54,7 @@ func (p *processor) GetUser(ctx context.Context, requestedUsername string, reque  		// if we're not already handshaking/dereferencing a remote account, dereference it now  		if !p.federator.Handshaking(ctx, requestedUsername, requestingAccountURI) { -			requestingAccount, _, err := p.federator.GetRemoteAccount(ctx, requestedUsername, requestingAccountURI, false) +			requestingAccount, err := p.federator.GetRemoteAccount(ctx, requestedUsername, requestingAccountURI, false, false)  			if err != nil {  				return nil, gtserror.NewErrorNotAuthorized(err)  			} | 
