Fix typo in key export

This commit is contained in:
Nicolas Werner 2022-04-08 03:33:00 +02:00
parent f316dbed43
commit cf38e6974a

View file

@ -609,9 +609,10 @@ Cache::exportSessionKeys()
if (!data.sender_claimed_ed25519_key.empty()) if (!data.sender_claimed_ed25519_key.empty())
exported.sender_claimed_keys["ed25519"] = data.sender_claimed_ed25519_key; exported.sender_claimed_keys["ed25519"] = data.sender_claimed_ed25519_key;
exported.forwarding_curve25519_key_chain = data.forwarding_curve25519_key_chain; exported.forwarding_curve25519_key_chain = data.forwarding_curve25519_key_chain;
} else {
continue;
} }
continue;
} catch (std::exception &e) { } catch (std::exception &e) {
nhlog::db()->error("Failed to retrieve Megolm Session Data: {}", e.what()); nhlog::db()->error("Failed to retrieve Megolm Session Data: {}", e.what());
continue; continue;