From 0219932f5095b6e2f80ba485585bc5a539e074e0 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 2 Sep 2020 14:29:18 +0200 Subject: [PATCH] typo --- src/matrix/DeviceMessageHandler.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/matrix/DeviceMessageHandler.js b/src/matrix/DeviceMessageHandler.js index 7154d192..43c084ef 100644 --- a/src/matrix/DeviceMessageHandler.js +++ b/src/matrix/DeviceMessageHandler.js @@ -51,7 +51,7 @@ export class DeviceMessageHandler { return {megolmChanges}; } - applyChanges({megolmChanges}) { + _applyDecryptChanges({megolmChanges}) { if (megolmChanges) { this._megolmDecryption.applyRoomKeyChanges(megolmChanges); } @@ -86,7 +86,7 @@ export class DeviceMessageHandler { throw err; } await txn.complete(); - this._applyChanges(changes); + this._applyDecryptChanges(changes); } async _getPendingEvents(txn) {