From 06ccd74680eb7d65b8f0bdf04c980859a39ba231 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 17 Sep 2020 17:59:35 +0200 Subject: [PATCH] this should be read-write, oops --- src/matrix/room/RoomSummary.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix/room/RoomSummary.js b/src/matrix/room/RoomSummary.js index 741b8764..21739a1e 100644 --- a/src/matrix/room/RoomSummary.js +++ b/src/matrix/room/RoomSummary.js @@ -326,7 +326,7 @@ export class RoomSummary { * writeIsTrackingMembers, ... take a txn directly. */ async writeAndApplyChanges(data, storage) { - const txn = await storage.readTxn([ + const txn = await storage.readWriteTxn([ storage.storeNames.roomSummary, ]); try {