refactor: Migrate to new matrix sdk API

This commit is contained in:
Krille Fear 2021-08-18 15:24:59 +00:00
commit 47e68d813d
32 changed files with 103 additions and 93 deletions

View file

@ -85,7 +85,7 @@ class InvitationSelectionController extends State<InvitationSelection> {
if (loading) return;
setState(() => loading = true);
final matrix = Matrix.of(context);
UserSearchResult response;
SearchUserDirectoryResponse response;
try {
response = await matrix.client.searchUserDirectory(text, limit: 10);
} catch (e) {