mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
In-memory keys need an object
This commit is contained in:
parent
9dea848927
commit
c568c15186
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ class MatrixClientPeg {
|
|||
if (SettingsStore.isFeatureEnabled("feature_cross_signing")) {
|
||||
// TODO: Cross-signing keys are temporarily in memory only. A
|
||||
// separate task in the cross-signing project will build from here.
|
||||
const keys = [];
|
||||
const keys = {};
|
||||
opts.cryptoCallbacks = {
|
||||
getCrossSigningKey: k => keys[k],
|
||||
saveCrossSigningKeys: newKeys => Object.assign(keys, newKeys),
|
||||
|
|
Loading…
Reference in a new issue