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 != "account_data" &&
eventUpdate.content.containsKey("state_key")) {
if (type != "account_data") {
final String now = DateTime.now().millisecondsSinceEpoch.toString();
txn.rawInsert(
"INSERT OR REPLACE INTO RoomStates VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?)",