-
- Downloads
Reject attempts to send event before privacy consent is given
Returns an M_CONSENT_NOT_GIVEN error (cf https://github.com/matrix-org/matrix-doc/issues/1252) if consent is not yet given.
Showing
- synapse/api/errors.py 29 additions, 1 deletionsynapse/api/errors.py
- synapse/api/urls.py 50 additions, 0 deletionssynapse/api/urls.py
- synapse/config/consent_config.py 10 additions, 0 deletionssynapse/config/consent_config.py
- synapse/handlers/message.py 85 additions, 1 deletionsynapse/handlers/message.py
- synapse/handlers/room.py 4 additions, 0 deletionssynapse/handlers/room.py
- tests/utils.py 1 addition, 0 deletionstests/utils.py
Loading
Please register or sign in to comment