Skip to content

Commit

Permalink
Register clients with user_type "bot"
Browse files Browse the repository at this point in the history
Depends on matrix-org/synapse#5902

This means that synapse servers that require consent will not demand it from bot users.
  • Loading branch information
Half-Shot committed Aug 28, 2019
1 parent aaf5e43 commit 564cc0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions maubot/management/api/client_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 564cc0b

Please sign in to comment.