summaryrefslogtreecommitdiff
path: root/internal/federation/dereferencing/status.go
diff options
context:
space:
mode:
authorLibravatar tsmethurst <tobi.smethurst@protonmail.com>2022-01-25 13:48:13 +0100
committerLibravatar tsmethurst <tobi.smethurst@protonmail.com>2022-01-25 13:48:13 +0100
commitc156602c6679224fe48b325674022f768aa74d27 (patch)
tree2cdda8f0bec6c5dbab63185eb241874b0cf1d1a3 /internal/federation/dereferencing/status.go
parentfix up some account conversion logic (diff)
downloadgotosocial-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.go2
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)
}