dendrite/appservice
S7evinK 895c8f03c0
Fix pg user already exists (#1076)
* 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>
2020-06-01 18:34:29 +01:00
..
api Fix API paths 2020-05-22 14:14:39 +01:00
consumers Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
query Miscellaneous fixes (#1060) 2020-05-26 14:41:16 +01:00
routing Separate muxes for public and internal APIs (#1056) 2020-05-22 11:43:17 +01:00
storage dendritejs tweaks for persisting sqlite DBs (#1058) 2020-05-22 12:28:48 +01:00
types Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
workers Fix #897 and shuffle directory around (#1054) 2020-05-21 14:40:13 +01:00
appservice.go Fix pg user already exists (#1076) 2020-06-01 18:34:29 +01:00
README.md use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00

Application Service

This component interfaces with external Application Services. This includes any HTTP endpoints that application services call, as well as talking to any HTTP endpoints that application services provide themselves.

Consumers

This component consumes and filters events from the Roomserver Kafka stream, passing on any necessary events to subscribing application services.