refactor: Update Matrix SDK

This commit is contained in:
Christian Pauly 2022-05-14 09:51:21 +02:00
commit 355abeb17f
10 changed files with 48 additions and 53 deletions

View file

@ -6,9 +6,10 @@ import 'package:fluffychat/utils/matrix_sdk_extensions.dart/flutter_matrix_hive_
Future<Client> prepareTestClient({
bool loggedIn = false,
String homeserver = 'https://fakeserver.notexisting',
Uri? homeserver,
String id = 'FluffyChat Widget Test',
}) async {
homeserver ??= Uri.parse('https://fakeserver.notexisting');
final client = Client(
'FluffyChat Widget Tests',
httpClient: FakeMatrixApi(),