diff options
author | 2022-01-25 13:48:13 +0100 | |
---|---|---|
committer | 2022-01-25 13:48:13 +0100 | |
commit | c156602c6679224fe48b325674022f768aa74d27 (patch) | |
tree | 2cdda8f0bec6c5dbab63185eb241874b0cf1d1a3 /internal/federation/dereferencing/status.go | |
parent | fix up some account conversion logic (diff) | |
download | gotosocial-c156602c6679224fe48b325674022f768aa74d27.tar.xz |
ensure blocking calls to getRemoteAccount before showing stuff to client
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 34310f4aa..cacca91b2 100644 --- a/internal/federation/dereferencing/status.go +++ b/internal/federation/dereferencing/status.go @@ -89,7 +89,7 @@ func (d *deref) GetRemoteStatus(ctx context.Context, username string, remoteStat } // do this so we know we have the remote account of the status in the db - _, err = d.GetRemoteAccount(ctx, username, accountURI, false, false) + _, err = d.GetRemoteAccount(ctx, username, accountURI, true, false) if err != nil { return nil, statusable, new, fmt.Errorf("GetRemoteStatus: couldn't derive status author: %s", err) } |