refactor: Migrate to new matrix sdk API
This commit is contained in:
parent
a85f35088a
commit
47e68d813d
32 changed files with 103 additions and 93 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue