summaryrefslogtreecommitdiff
path: root/internal/federation/dereference.go
diff options
context:
space:
mode:
authorLibravatar Tobi Smethurst <31960611+tsmethurst@users.noreply.github.com>2021-08-10 16:56:59 +0200
committerLibravatar GitHub <noreply@github.com>2021-08-10 16:56:59 +0200
commit6acd410426f2f8941a0dbec4bfe07c2a94ce62b7 (patch)
treedbae658794d294c845640b9244b061cbbf11d94f /internal/federation/dereference.go
parentroll back to sha256 for signatures (diff)
downloadgotosocial-6acd410426f2f8941a0dbec4bfe07c2a94ce62b7.tar.xz
Bugfixerino (#133)
* fix some lil bugs * fmt, lint
Diffstat (limited to 'internal/federation/dereference.go')
-rw-r--r--internal/federation/dereference.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/federation/dereference.go b/internal/federation/dereference.go
index 8975d6c0c..07901d5b1 100644
--- a/internal/federation/dereference.go
+++ b/internal/federation/dereference.go
@@ -11,6 +11,10 @@ func (f *federator) GetRemoteAccount(username string, remoteAccountID *url.URL,
return f.dereferencer.GetRemoteAccount(username, remoteAccountID, refresh)
}
+func (f *federator) EnrichRemoteAccount(username string, account *gtsmodel.Account) (*gtsmodel.Account, error) {
+ return f.dereferencer.EnrichRemoteAccount(username, account)
+}
+
func (f *federator) GetRemoteStatus(username string, remoteStatusID *url.URL, refresh bool) (*gtsmodel.Status, ap.Statusable, bool, error) {
return f.dereferencer.GetRemoteStatus(username, remoteStatusID, refresh)
}