Fix store
This commit is contained in:
parent
1ebb045f8f
commit
1b4395d596
|
@ -369,8 +369,7 @@ class ExtendedStore extends Store implements ExtendedStoreAPI {
|
||||||
|
|
||||||
if (type == "history") return null;
|
if (type == "history") return null;
|
||||||
|
|
||||||
if (type != "account_data" &&
|
if (type != "account_data") {
|
||||||
eventUpdate.content.containsKey("state_key")) {
|
|
||||||
final String now = DateTime.now().millisecondsSinceEpoch.toString();
|
final String now = DateTime.now().millisecondsSinceEpoch.toString();
|
||||||
txn.rawInsert(
|
txn.rawInsert(
|
||||||
"INSERT OR REPLACE INTO RoomStates VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?)",
|
"INSERT OR REPLACE INTO RoomStates VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?)",
|
||||||
|
|
Loading…
Reference in a new issue