style: remove unneeded trailing comma

This commit is contained in:
Lukas Lihotzki 2021-09-30 15:20:13 +02:00
parent 85004e1faf
commit 4bd659fd56
1 changed files with 2 additions and 6 deletions

View File

@ -234,9 +234,7 @@ class OlmManager {
// in case the app gets killed during upload or the upload fails due to bad network // in case the app gets killed during upload or the upload fails due to bad network
// we can still re-try later // we can still re-try later
if (updateDatabase) { if (updateDatabase) {
await client.database?.updateClientKeys( await client.database?.updateClientKeys(pickledOlmAccount!);
pickledOlmAccount!,
);
} }
final response = await client.uploadKeys( final response = await client.uploadKeys(
deviceKeys: uploadDeviceKeys deviceKeys: uploadDeviceKeys
@ -393,9 +391,7 @@ class OlmManager {
try { try {
newSession.create_inbound_from(_olmAccount!, senderKey, body); newSession.create_inbound_from(_olmAccount!, senderKey, body);
_olmAccount!.remove_one_time_keys(newSession); _olmAccount!.remove_one_time_keys(newSession);
client.database?.updateClientKeys( client.database?.updateClientKeys(pickledOlmAccount!);
pickledOlmAccount!,
);
plaintext = newSession.decrypt(type, body); plaintext = newSession.decrypt(type, body);
runInRoot(() => storeOlmSession(OlmSession( runInRoot(() => storeOlmSession(OlmSession(
key: client.userID, key: client.userID,