From bf51e57e78bfb3edcd580605354c062cd49363cb Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Tue, 19 Sep 2023 12:24:06 +0200 Subject: [PATCH] chore: remove redundant log message --- lib/encryption/utils/bootstrap.dart | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/lib/encryption/utils/bootstrap.dart b/lib/encryption/utils/bootstrap.dart index d17d3081..41a99808 100644 --- a/lib/encryption/utils/bootstrap.dart +++ b/lib/encryption/utils/bootstrap.dart @@ -584,12 +584,10 @@ class Bootstrap { Logs().v('Wait for secret to come down sync'); if (!await encryption.keyManager.isCached()) { - await client.onSync.stream - .firstWhere((syncUpdate) => - syncUpdate.accountData != null && - syncUpdate.accountData! - .any((accountData) => accountData.type == megolmKey)) - .then((_) => Logs().v('New backup key was created')); + await client.onSync.stream.firstWhere((syncUpdate) => + syncUpdate.accountData != null && + syncUpdate.accountData! + .any((accountData) => accountData.type == megolmKey)); } Logs().v(