mirror of
https://github.com/bsedin/matrix-webhook.git
synced 2026-01-16 08:05:57 +00:00
handle M_CONSENT_NOT_GIVEN, fix #15
This commit is contained in:
parent
5a5e9655be
commit
2a78594861
@ -10,7 +10,10 @@ from nio.responses import RoomSendError, JoinError
|
||||
|
||||
from . import conf
|
||||
|
||||
ERROR_MAP = {"M_FORBIDDEN": HTTPStatus.FORBIDDEN}
|
||||
ERROR_MAP = {
|
||||
"M_FORBIDDEN": HTTPStatus.FORBIDDEN,
|
||||
"M_CONSENT_NOT_GIVEN": HTTPStatus.FORBIDDEN,
|
||||
}
|
||||
LOGGER = logging.getLogger("matrix_webhook.utils")
|
||||
CLIENT = AsyncClient(conf.MATRIX_URL, conf.MATRIX_ID)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user