diff --git a/src/github.com/matrix-org/dendrite/clientapi/auth/storage/accounts/storage.go b/src/github.com/matrix-org/dendrite/clientapi/auth/storage/accounts/storage.go index 1f45a9f74..b49e83705 100644 --- a/src/github.com/matrix-org/dendrite/clientapi/auth/storage/accounts/storage.go +++ b/src/github.com/matrix-org/dendrite/clientapi/auth/storage/accounts/storage.go @@ -338,6 +338,7 @@ func (d *Database) PutFilter( return "", err } return d.filter.findMaxID(ctx, localpart) +} // CheckAccountAvailability checks if the username/localpart is already present in the database. // If the DB returns sql.ErrNoRows the Localpart isn't taken.