From 4bd659fd564ac195fb3e99ed4646a15bd388f494 Mon Sep 17 00:00:00 2001 From: Lukas Lihotzki Date: Thu, 30 Sep 2021 15:20:13 +0200 Subject: [PATCH] style: remove unneeded trailing comma --- lib/encryption/olm_manager.dart | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/encryption/olm_manager.dart b/lib/encryption/olm_manager.dart index 80aa7276..711c9d64 100644 --- a/lib/encryption/olm_manager.dart +++ b/lib/encryption/olm_manager.dart @@ -234,9 +234,7 @@ class OlmManager { // in case the app gets killed during upload or the upload fails due to bad network // we can still re-try later if (updateDatabase) { - await client.database?.updateClientKeys( - pickledOlmAccount!, - ); + await client.database?.updateClientKeys(pickledOlmAccount!); } final response = await client.uploadKeys( deviceKeys: uploadDeviceKeys @@ -393,9 +391,7 @@ class OlmManager { try { newSession.create_inbound_from(_olmAccount!, senderKey, body); _olmAccount!.remove_one_time_keys(newSession); - client.database?.updateClientKeys( - pickledOlmAccount!, - ); + client.database?.updateClientKeys(pickledOlmAccount!); plaintext = newSession.decrypt(type, body); runInRoot(() => storeOlmSession(OlmSession( key: client.userID,