summaryrefslogtreecommitdiff
path: root/internal/processing/util.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/processing/util.go')
-rw-r--r--internal/processing/util.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/processing/util.go b/internal/processing/util.go
index e360428cc..8b1399d3c 100644
--- a/internal/processing/util.go
+++ b/internal/processing/util.go
@@ -28,6 +28,7 @@ import (
"github.com/superseriousbusiness/gotosocial/internal/federation/dereferencing"
"github.com/superseriousbusiness/gotosocial/internal/gtsmodel"
"github.com/superseriousbusiness/gotosocial/internal/id"
+ "github.com/superseriousbusiness/gotosocial/internal/transport"
"github.com/superseriousbusiness/gotosocial/internal/util"
)
@@ -56,7 +57,7 @@ func GetParseMentionFunc(dbConn db.DB, federator federation.Federator) gtsmodel.
if originAccount.Domain == "" {
requestingUsername = originAccount.Username
}
- remoteAccount, err := federator.GetRemoteAccount(ctx, dereferencing.GetRemoteAccountParams{
+ remoteAccount, err := federator.GetRemoteAccount(transport.WithFastfail(ctx), dereferencing.GetRemoteAccountParams{
RequestingUsername: requestingUsername,
RemoteAccountUsername: username,
RemoteAccountHost: domain,