testmatrix 0.2.3__tar.gz → 0.2.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {testmatrix-0.2.3 → testmatrix-0.2.4}/PKG-INFO +1 -1
- {testmatrix-0.2.3 → testmatrix-0.2.4}/src/testmatrix/__init__.py +1 -1
- {testmatrix-0.2.3 → testmatrix-0.2.4}/src/testmatrix/matrixserver.py +3 -1
- {testmatrix-0.2.3 → testmatrix-0.2.4}/testmatrix.egg-info/PKG-INFO +1 -1
- {testmatrix-0.2.3 → testmatrix-0.2.4}/LICENSE +0 -0
- {testmatrix-0.2.3 → testmatrix-0.2.4}/README.md +0 -0
- {testmatrix-0.2.3 → testmatrix-0.2.4}/pyproject.toml +0 -0
- {testmatrix-0.2.3 → testmatrix-0.2.4}/setup.cfg +0 -0
- {testmatrix-0.2.3 → testmatrix-0.2.4}/src/testmatrix/jwtauth.py +0 -0
- {testmatrix-0.2.3 → testmatrix-0.2.4}/src/testmatrix/utils.py +0 -0
- {testmatrix-0.2.3 → testmatrix-0.2.4}/test_matrix.py +0 -0
- {testmatrix-0.2.3 → testmatrix-0.2.4}/testmatrix.egg-info/SOURCES.txt +0 -0
- {testmatrix-0.2.3 → testmatrix-0.2.4}/testmatrix.egg-info/dependency_links.txt +0 -0
- {testmatrix-0.2.3 → testmatrix-0.2.4}/testmatrix.egg-info/entry_points.txt +0 -0
- {testmatrix-0.2.3 → testmatrix-0.2.4}/testmatrix.egg-info/requires.txt +0 -0
- {testmatrix-0.2.3 → testmatrix-0.2.4}/testmatrix.egg-info/top_level.txt +0 -0
|
@@ -200,7 +200,9 @@ class MatrixServer:
|
|
|
200
200
|
if self.diagnostics:
|
|
201
201
|
logging.error("𐄂 Client well known is no valid json")
|
|
202
202
|
else:
|
|
203
|
-
|
|
203
|
+
client_baseurl = wellknown_client["m.homeserver"]["base_url"]
|
|
204
|
+
# strip final dashes
|
|
205
|
+
self.client_baseurl = client_baseurl.rstrip("/")
|
|
204
206
|
if self.diagnostics:
|
|
205
207
|
logging.debug(" Client url: %s",
|
|
206
208
|
self.loganon(self.client_baseurl,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|