chore: Wait for device keys before ask bootstrap
This commit is contained in:
parent
2af8691536
commit
dce3c0ae52
1 changed files with 1 additions and 0 deletions
|
|
@ -619,6 +619,7 @@ class ChatListController extends State<ChatList>
|
|||
final client = Matrix.of(context).client;
|
||||
await client.roomsLoading;
|
||||
await client.accountDataLoading;
|
||||
await client.userDeviceKeysLoading;
|
||||
if (client.prevBatch == null) {
|
||||
await client.onSync.stream.first;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue