Add error codes from MSC4178 (#1944)

* Add error codes from MSC4178

* changelog

* Put changelog in the right place

* Move newsfile

* Add the codes to the right endpoint

* Also add M_THREEPID_IN_USE

which was always used and is specified in the IS API, but not in the
C/S API. We decided this was well-specced enough that it didn't need
its own MSC.
This commit is contained in:
David Baker 2024-12-11 09:48:26 +00:00 committed by GitHub
parent f819403bd5
commit 9198182f1a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 21 additions and 6 deletions

View file

@ -222,6 +222,13 @@ only read state (e.g.: [`/sync`](#get_matrixclientv3sync),
The user is unable to reject an invite to join the server notices room.
See the [Server Notices](#server-notices) module for more information.
`M_THREEPID_MEDIUM_NOT_SUPPORTED`
The homeserver does not support adding a third party identifier of the given medium.
`M_THREEPID_IN_USE`
The third party identifier specified by the client is not acceptable because it is
already in use in some way.
#### Rate limiting
Homeservers SHOULD implement rate limiting to reduce the risk of being