fix: well-known in fake_matrix_api

This commit is contained in:
Christian Pauly 2021-01-20 14:07:40 +01:00
parent d8c12dd43d
commit 2b04551838
3 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,6 @@
## 0.1.6
- fix: well-known in fake_matrix_api
## 0.1.5
- Add m.dummy event

View File

@ -763,10 +763,14 @@ class FakeMatrixApi extends MockClient {
},
'/media/r0/config': (var req) => {'m.upload.size': 50000000},
'/.well-known/matrix/client': (var req) => {
'm.homeserver': {'base_url': 'https://matrix.example.com'},
'm.identity_server': {'base_url': 'https://identity.example.com'},
'm.homeserver': {
'base_url': 'https://fakeserver.notexisting',
},
'm.identity_server': {
'base_url': 'https://identity.fakeserver.notexisting'
},
'org.example.custom.property': {
'app_url': 'https://custom.app.example.org'
'app_url': 'https://custom.app.fakeserver.notexisting'
}
},
'/client/r0/user/%40alice%3Aexample.com/rooms/!localpart%3Aexample.com/tags':

View File

@ -1,6 +1,6 @@
name: matrix_api_lite
description: Dead simple data model for the matrix.org client-server API.
version: 0.1.5
version: 0.1.6
homepage: https://famedly.com
environment: