fix param order

This commit is contained in:
Bruno Windels 2020-09-04 16:29:20 +02:00
parent 1af118a443
commit e06cb1eb5f

View file

@ -299,7 +299,7 @@ export class Room extends EventEmitter {
});
gapResult = await gapWriter.writeFragmentFill(fragmentEntry, response, txn);
if (this._roomEncryption) {
gapResult.entries = await this._decryptEntries(gapResult.entries, false, txn);
gapResult.entries = await this._decryptEntries(gapResult.entries, txn, false);
}
} catch (err) {
txn.abort();