chore: Wait for device keys before ask bootstrap

This commit is contained in:
Krille 2024-02-01 08:00:33 +01:00
parent 2af8691536
commit dce3c0ae52
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652

View file

@ -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;