feat: use the raw homeserver URL instead of manually removing the scheme

On the one hand, the SDK knows what to do and will clean up the URL if needs be,
guessing what the best scheme (http or https) is based on the prefix. On the other
hand, trimming the scheme as done here doesn't allow for manual testing on insecure
servers, which is handy in e2e testing situations.
This commit is contained in:
Benjamin Bouvier 2023-09-19 18:46:21 +02:00
parent 2757b5b13d
commit 4902fe4990
3 changed files with 3 additions and 8 deletions

1
changelog.d/1382.feature Normal file
View file

@ -0,0 +1 @@
Let the SDK figure the best scheme given an homeserver URL (thus allowing HTTP homeservers)