ec30d143cd
When registering a new user using POST `/_matrix/client/r0/register`, the server was returning a 500 error when user name was already taken. I added a check in `completeRegistration` to verify if the username is available before inserting it, and return a 400 `M_USER_IN_USE` error if there is a conflict, as [defined in matrix-doc](https://matrix.org/speculator/spec/HEAD/client_server/unstable.html#post-matrix-client-r0-register) Signed-off-by: Thibaut CHARLES cromfr@gmail.com |
||
---|---|---|
docs | ||
hooks | ||
jenkins | ||
scripts | ||
src/github.com/matrix-org/dendrite | ||
vendor | ||
.editorconfig | ||
.gitignore | ||
.travis.yml | ||
CODE_STYLE.md | ||
CONTRIBUTING.md | ||
DESIGN.md | ||
INSTALL.md | ||
LICENSE | ||
README.md | ||
WIRING.md | ||
dendrite-config.yaml | ||
linter-fast.json | ||
linter.json |
README.md
Dendrite
Dendrite will be a matrix homeserver written in go.
It's still very much a work in progress, but installation instructions can be found in INSTALL.md
An overview of the design can be found in DESIGN.md
Contributing
Everyone is welcome to help out and contribute! See CONTRIBUTING.md to get started!
We aim to try and make it as easy as possible to jump in.
Discussion
For questions about Dendrite we have a dedicated room on Matrix #dendrite:matrix.org.
Progress
There's plenty still to do to make Dendrite usable! We're tracking progress in a spreadsheet.