Fix store

This commit is contained in:
Christian Pauly 2020-02-09 10:50:25 +00:00
parent 1ebb045f8f
commit 1b4395d596

View file

@ -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(?, ?, ?, ?, ?, ?, ?, ?, ?)",