diff options
Diffstat (limited to 'userapi/storage/accounts/interface.go')
-rw-r--r-- | userapi/storage/accounts/interface.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/userapi/storage/accounts/interface.go b/userapi/storage/accounts/interface.go index 49446f11..c86b2c39 100644 --- a/userapi/storage/accounts/interface.go +++ b/userapi/storage/accounts/interface.go @@ -51,6 +51,7 @@ type Database interface { CheckAccountAvailability(ctx context.Context, localpart string) (bool, error) GetAccountByLocalpart(ctx context.Context, localpart string) (*api.Account, error) SearchProfiles(ctx context.Context, searchString string, limit int) ([]authtypes.Profile, error) + DeactivateAccount(ctx context.Context, localpart string) (err error) } // Err3PIDInUse is the error returned when trying to save an association involving |