mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 09:05:10 +00:00
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…
Reference in a new issue