diff --git a/src/MatrixClientPeg.ts b/src/MatrixClientPeg.ts index 8a0c2d63cb..c65884e350 100644 --- a/src/MatrixClientPeg.ts +++ b/src/MatrixClientPeg.ts @@ -274,10 +274,10 @@ class _MatrixClientPeg implements IMatrixClientPeg { // These are always installed regardless of the labs flag so that // cross-signing features can toggle on without reloading and also be // accessed immediately after login. - const customisatedCallbacks = { + const customisedCallbacks = { getDehydrationKey: SecurityCustomisations.getDehydrationKey, }; - Object.assign(opts.cryptoCallbacks, crossSigningCallbacks, customisatedCallbacks); + Object.assign(opts.cryptoCallbacks, crossSigningCallbacks, customisedCallbacks); this.matrixClient = createMatrixClient(opts);