diff --git a/lib/pages/bootstrap/bootstrap_dialog.dart b/lib/pages/bootstrap/bootstrap_dialog.dart index fc31b897..4cb276ba 100644 --- a/lib/pages/bootstrap/bootstrap_dialog.dart +++ b/lib/pages/bootstrap/bootstrap_dialog.dart @@ -353,9 +353,12 @@ class BootstrapDialogState extends State { : () async { final req = await showFutureLoadingDialog( context: context, - future: () => widget.client - .userDeviceKeys[widget.client.userID!]! - .startVerification(), + future: () async { + await widget.client.updateUserDeviceKeys(); + return widget.client + .userDeviceKeys[widget.client.userID!]! + .startVerification(); + }, ); if (req.error != null) return; await KeyVerificationDialog(request: req.result!)