chore: Update SDK
This commit is contained in:
parent
4f148ca7f7
commit
65747aecbf
5 changed files with 13 additions and 14 deletions
|
|
@ -48,11 +48,8 @@ class SearchController extends State<Search> {
|
|||
final newRoomId = await Matrix.of(context)
|
||||
.client
|
||||
.joinRoom(alias?.isNotEmpty ?? false ? alias : roomId);
|
||||
await Matrix.of(context)
|
||||
.client
|
||||
.onRoomUpdate
|
||||
.stream
|
||||
.firstWhere((r) => r.id == newRoomId);
|
||||
await Matrix.of(context).client.onSync.stream.firstWhere(
|
||||
(update) => update.rooms?.join?.containsKey(newRoomId) ?? false);
|
||||
return newRoomId;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue