diff --git a/lib/encryption/key_manager.dart b/lib/encryption/key_manager.dart index 2e893b54..4a589939 100644 --- a/lib/encryption/key_manager.dart +++ b/lib/encryption/key_manager.dart @@ -558,6 +558,8 @@ class KeyManager { if (!enabled) { return false; } + await client.accountDataLoading; + await client.userDeviceKeysLoading; return (await encryption.ssss.getCached(megolmKey)) != null; }