Register clients with user_type "bot"
Depends on https://github.com/matrix-org/synapse/pull/5902 This means that synapse servers that require consent will not demand it from bot users.
This commit is contained in:
parent
aaf5e43d9f
commit
564cc0bf2c
1 changed files with 1 additions and 0 deletions
|
@ -93,6 +93,7 @@ async def register(request: web.Request) -> web.Response:
|
|||
"password": password,
|
||||
"admin": False,
|
||||
"mac": mac,
|
||||
"user_type": "bot",
|
||||
}))
|
||||
except MatrixRequestError as e:
|
||||
return web.json_response({
|
||||
|
|
Loading…
Reference in a new issue