Skip to content

Remove early homeserver validation

Mathieu Velten requested to merge MatMaul/tchapbot:remove-hs-validation into main

This is doing some blocking IO at the bot construction, which is a bit unexpected.

Also it hinders writing tests: I would like to easily mock MatrixClient but it is complicated with this validation happening at construction.

We could move that check to automatic_login, but I feel like the error we will receive by trying to call /login should be enough.

Merge request reports

Loading