mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-05 11:14:11 +01:00
Clarify that servers may not use M_USER_DEACTIVATED when they don't know who is asking
See: https://github.com/element-hq/synapse/issues/15747
This commit is contained in:
parent
fe3f43a905
commit
010a6b05cd
|
|
@ -262,6 +262,8 @@ paths:
|
||||||
or the requested device ID is the same as a cross-signing key
|
or the requested device ID is the same as a cross-signing key
|
||||||
ID.
|
ID.
|
||||||
* `M_USER_DEACTIVATED`: The user has been deactivated.
|
* `M_USER_DEACTIVATED`: The user has been deactivated.
|
||||||
|
Note that servers MAY choose not to use this error code and instead use `M_FORBIDDEN`,
|
||||||
|
particularly when the server can't authenticate the deactivated user.
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue