fix: Wait for loading before bootstrap
This commit is contained in:
parent
52b2ee99a5
commit
b9f059060f
1 changed files with 2 additions and 0 deletions
|
|
@ -172,6 +172,8 @@ class ChatListController extends State<ChatList> {
|
|||
|
||||
void checkBootstrap() async {
|
||||
if (!Matrix.of(context).client.encryptionEnabled) return;
|
||||
await Matrix.of(context).client.accountDataLoading;
|
||||
await Matrix.of(context).client.userDeviceKeysLoading;
|
||||
final crossSigning =
|
||||
await Matrix.of(context).client.encryption?.crossSigning?.isCached() ??
|
||||
false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue