diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2021-03-03 14:01:34 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-03 14:01:34 +0000 |
commit | f0139f12ca6f93b7626be369dc2a829c0326c6e0 (patch) | |
tree | cd9b9727342b9715395c6f72db961bc27d0db761 /userapi/internal | |
parent | 41fd15b9b659bab1220c0a4868a8a478d70b7180 (diff) |
Don't return error when account conflict is handled gracefully (#1782)
Diffstat (limited to 'userapi/internal')
-rw-r--r-- | userapi/internal/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/userapi/internal/api.go b/userapi/internal/api.go index 4abf908d..e104714b 100644 --- a/userapi/internal/api.go +++ b/userapi/internal/api.go @@ -87,7 +87,7 @@ func (a *UserInternalAPI) PerformAccountCreation(ctx context.Context, req *api.P ServerName: a.ServerName, UserID: fmt.Sprintf("@%s:%s", req.Localpart, a.ServerName), } - return err + return nil } if err = a.AccountDB.SetDisplayName(ctx, req.Localpart, req.Localpart); err != nil { |