mirror of
https://github.com/maubot/maubot.git
synced 2024-10-01 01:06:10 -04:00
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
@ -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 New Issue
Block a user