mirror of
https://github.com/1f349/dendrite.git
synced 2024-12-23 00:34:07 +00:00
895c8f03c0
* Return newly created error if user already exists (#1002) Signed-off-by: Till Faelligen <tfaelligen@gmail.com> * Rename variable * Remove check for account and use returned error * Return ErrUserExists Signed-off-by: Till Faelligen <tfaelligen@gmail.com> * State that CreateAccount will return err ErrUserExists if the user exists Signed-off-by: Till Faelligen <tfaelligen@gmail.com> * Also check sqlite for constraint error * Revert "Also check sqlite for constraint error" This reverts commit 7d310514 * Check for sqlite3 constraint error * Add documentation to CreateAccount * Move ErrUserExists to accounts package * Revert "Move ErrUserExists to accounts package" Import Cycle.. This reverts commit be3d4cda Co-authored-by: Kegsay <kegan@matrix.org> |
||
---|---|---|
.. | ||
account_data.go | ||
auth_fallback.go | ||
capabilities.go | ||
createroom.go | ||
device.go | ||
directory.go | ||
filter.go | ||
getevent.go | ||
joinroom.go | ||
leaveroom.go | ||
login.go | ||
logout.go | ||
membership.go | ||
memberships.go | ||
profile.go | ||
register_test.go | ||
register.go | ||
room_tagging.go | ||
routing.go | ||
sendevent.go | ||
sendtodevice.go | ||
sendtyping.go | ||
state.go | ||
threepid.go | ||
voip.go | ||
whoami.go |