mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-01-23 10:34:25 +01:00
fix: Wait for loading before bootstrap
This commit is contained in:
parent
762139d43d
commit
07033ab9b0
@ -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…
Reference in New Issue
Block a user