summaryrefslogtreecommitdiff
path: root/internal/federation/dereferencing/dereferencer.go
diff options
context:
space:
mode:
authorLibravatar tsmethurst <tobi.smethurst@protonmail.com>2022-01-11 17:49:14 +0100
committerLibravatar tsmethurst <tobi.smethurst@protonmail.com>2022-01-11 17:49:14 +0100
commit113f9d9ab4797de6ae17819c96ae866992214021 (patch)
treec4e165e66e66db7b9e20d34ccb45f7bda096b532 /internal/federation/dereferencing/dereferencer.go
parenttest the media manager a bit, add shutdown logic (diff)
downloadgotosocial-113f9d9ab4797de6ae17819c96ae866992214021.tar.xz
pass a function into the manager, start work on emoji
Diffstat (limited to 'internal/federation/dereferencing/dereferencer.go')
-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 1e6f781b8..800da6c04 100644
--- a/internal/federation/dereferencing/dereferencer.go
+++ b/internal/federation/dereferencing/dereferencer.go
@@ -41,7 +41,7 @@ type Dereferencer interface {
GetRemoteInstance(ctx context.Context, username string, remoteInstanceURI *url.URL) (*gtsmodel.Instance, error)
- GetRemoteMedia(ctx context.Context, requestingUsername string, accountID string, remoteURL string, ai *media.AdditionalInfo) (*media.Processing, error)
+ GetRemoteMedia(ctx context.Context, requestingUsername string, accountID string, remoteURL string, ai *media.AdditionalMediaInfo) (*media.ProcessingMedia, error)
DereferenceAnnounce(ctx context.Context, announce *gtsmodel.Status, requestingUsername string) error
DereferenceThread(ctx context.Context, username string, statusIRI *url.URL) error