From 2b04551838ff05cd9e0d41b150fd50c863ad1971 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Wed, 20 Jan 2021 14:07:40 +0100 Subject: [PATCH] fix: well-known in fake_matrix_api --- CHANGELOG.md | 3 +++ lib/fake_matrix_api.dart | 10 +++++++--- pubspec.yaml | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 991e3a23..79f6e866 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 0.1.6 + +- fix: well-known in fake_matrix_api ## 0.1.5 - Add m.dummy event diff --git a/lib/fake_matrix_api.dart b/lib/fake_matrix_api.dart index 69060955..a38b7a9b 100644 --- a/lib/fake_matrix_api.dart +++ b/lib/fake_matrix_api.dart @@ -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': diff --git a/pubspec.yaml b/pubspec.yaml index 1176c389..920ebc89 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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: