diff options
| author | 2022-01-11 17:49:14 +0100 | |
|---|---|---|
| committer | 2022-01-11 17:49:14 +0100 | |
| commit | 113f9d9ab4797de6ae17819c96ae866992214021 (patch) | |
| tree | c4e165e66e66db7b9e20d34ccb45f7bda096b532 /internal/transport | |
| parent | test the media manager a bit, add shutdown logic (diff) | |
| download | gotosocial-113f9d9ab4797de6ae17819c96ae866992214021.tar.xz | |
pass a function into the manager, start work on emoji
Diffstat (limited to 'internal/transport')
| -rw-r--r-- | internal/transport/transport.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/transport/transport.go b/internal/transport/transport.go index b470b289a..c43515a42 100644 --- a/internal/transport/transport.go +++ b/internal/transport/transport.go @@ -33,7 +33,7 @@ import ( // functionality for fetching remote media. type Transport interface { pub.Transport - // DereferenceMedia fetches the bytes of the given media attachment IRI, with the expectedContentType. + // DereferenceMedia fetches the bytes of the given media attachment IRI. DereferenceMedia(ctx context.Context, iri *url.URL) ([]byte, error) // DereferenceInstance dereferences remote instance information, first by checking /api/v1/instance, and then by checking /.well-known/nodeinfo. DereferenceInstance(ctx context.Context, iri *url.URL) (*gtsmodel.Instance, error) |
