style: remove unneeded trailing comma
This commit is contained in:
parent
85004e1faf
commit
4bd659fd56
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue