diff options
author | 2022-02-08 10:08:27 +0100 | |
---|---|---|
committer | 2022-02-08 10:08:27 +0100 | |
commit | e811d03cc94f42ea5aa0b4eb8d468d01fdf6d31c (patch) | |
tree | c85fa689d4e4d906b79f01f7eae80869245baa05 /internal/federation/dereferencing/account.go | |
parent | add comment explaining store.lock (diff) | |
download | gotosocial-e811d03cc94f42ea5aa0b4eb8d468d01fdf6d31c.tar.xz |
update outdated comment
Diffstat (limited to 'internal/federation/dereferencing/account.go')
-rw-r--r-- | internal/federation/dereferencing/account.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/internal/federation/dereferencing/account.go b/internal/federation/dereferencing/account.go index 0b7265723..d87192d3a 100644 --- a/internal/federation/dereferencing/account.go +++ b/internal/federation/dereferencing/account.go @@ -47,12 +47,11 @@ func instanceAccount(account *gtsmodel.Account) bool { } // GetRemoteAccount completely dereferences a remote account, converts it to a GtS model account, -// puts it in the database, and returns it to a caller. The boolean indicates whether the account is new -// to us or not. If we haven't seen the account before, bool will be true. If we have seen the account before, -// it will be false. +// puts it in the database, and returns it to a caller. // // Refresh indicates whether--if the account exists in our db already--it should be refreshed by calling -// the remote instance again. +// the remote instance again. Blocking indicates whether the function should block until processing of +// the fetched account is complete. // // SIDE EFFECTS: remote account will be stored in the database, or updated if it already exists (and refresh is true). func (d *deref) GetRemoteAccount(ctx context.Context, username string, remoteAccountID *url.URL, blocking bool, refresh bool) (*gtsmodel.Account, error) { |