summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar tsmethurst <tobi.smethurst@protonmail.com>2022-01-24 18:12:42 +0100
committerLibravatar tsmethurst <tobi.smethurst@protonmail.com>2022-01-24 18:12:42 +0100
commit926b37e271f993625183935a5ba29705b280b0d1 (patch)
treea645a302253a9439c848e1095744f838c20f78cc
parentctx => innerctx (diff)
downloadgotosocial-926b37e271f993625183935a5ba29705b280b0d1.tar.xz
change getaccount function signature
-rw-r--r--internal/federation/dereferencing/dereferencer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/federation/dereferencing/dereferencer.go b/internal/federation/dereferencing/dereferencer.go
index daf82b91e..855c4baf8 100644
--- a/internal/federation/dereferencing/dereferencer.go
+++ b/internal/federation/dereferencing/dereferencer.go
@@ -33,7 +33,7 @@ import (
// Dereferencer wraps logic and functionality for doing dereferencing of remote accounts, statuses, etc, from federated instances.
type Dereferencer interface {
- GetRemoteAccount(ctx context.Context, username string, remoteAccountID *url.URL, refresh bool, blocking bool) (*gtsmodel.Account, error)
+ GetRemoteAccount(ctx context.Context, username string, remoteAccountID *url.URL, blocking bool, refresh bool) (*gtsmodel.Account, error)
GetRemoteStatus(ctx context.Context, username string, remoteStatusID *url.URL, refresh, includeParent bool) (*gtsmodel.Status, ap.Statusable, bool, error)
EnrichRemoteStatus(ctx context.Context, username string, status *gtsmodel.Status, includeParent bool) (*gtsmodel.Status, error)