mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
this should be read-write, oops
This commit is contained in:
parent
1b8e481559
commit
06ccd74680
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user