This commit is contained in:
Bruno Windels 2020-09-02 14:29:18 +02:00
parent 6d3aa219fa
commit 0219932f50

View file

@ -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) {