diff options
author | 2022-01-10 18:36:09 +0100 | |
---|---|---|
committer | 2022-01-10 18:36:09 +0100 | |
commit | e0f9323b9aa98b55f3557086f7b0a17047943f39 (patch) | |
tree | 5a2bbcb84b87d2530e804067d72c1bea672412a1 /internal/federation/dereferencing/status.go | |
parent | add async test (diff) | |
download | gotosocial-e0f9323b9aa98b55f3557086f7b0a17047943f39.tar.xz |
test the media manager a bit, add shutdown logic
Diffstat (limited to 'internal/federation/dereferencing/status.go')
-rw-r--r-- | internal/federation/dereferencing/status.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/federation/dereferencing/status.go b/internal/federation/dereferencing/status.go index 47ce087a2..041cfa6b4 100644 --- a/internal/federation/dereferencing/status.go +++ b/internal/federation/dereferencing/status.go @@ -406,7 +406,7 @@ func (d *deref) populateStatusAttachments(ctx context.Context, status *gtsmodel. continue } - attachment, err := media.LoadAttachment(ctx) + attachment, err := media.Load(ctx) if err != nil { logrus.Errorf("populateStatusAttachments: couldn't load remote attachment %s: %s", a.RemoteURL, err) continue |