this should be read-write, oops

This commit is contained in:
Bruno Windels 2020-09-17 17:59:35 +02:00
parent 1b8e481559
commit 06ccd74680

View file

@ -326,7 +326,7 @@ export class RoomSummary {
* writeIsTrackingMembers, ... take a txn directly. * writeIsTrackingMembers, ... take a txn directly.
*/ */
async writeAndApplyChanges(data, storage) { async writeAndApplyChanges(data, storage) {
const txn = await storage.readTxn([ const txn = await storage.readWriteTxn([
storage.storeNames.roomSummary, storage.storeNames.roomSummary,
]); ]);
try { try {