diff options
Diffstat (limited to 'internal/federation/gone.go')
-rw-r--r-- | internal/federation/gone.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/federation/gone.go b/internal/federation/gone.go index 7f0c34532..e0278765c 100644 --- a/internal/federation/gone.go +++ b/internal/federation/gone.go @@ -26,12 +26,12 @@ import ( ) // CheckGone checks if a tombstone exists in the database for AP Actor or Object with the given uri. -func (f *federator) CheckGone(ctx context.Context, uri *url.URL) (bool, error) { +func (f *Federator) CheckGone(ctx context.Context, uri *url.URL) (bool, error) { return f.db.TombstoneExistsWithURI(ctx, uri.String()) } // HandleGone puts a tombstone in the database, which marks an AP Actor or Object with the given uri as gone. -func (f *federator) HandleGone(ctx context.Context, uri *url.URL) error { +func (f *Federator) HandleGone(ctx context.Context, uri *url.URL) error { tombstone := >smodel.Tombstone{ ID: id.NewULID(), Domain: uri.Host, |