From 1b4395d596651e7d9ea20006962f6a0dd87dc223 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sun, 9 Feb 2020 10:50:25 +0000 Subject: [PATCH] Fix store --- lib/utils/famedlysdk_store.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/utils/famedlysdk_store.dart b/lib/utils/famedlysdk_store.dart index 79f73d2..2f61368 100644 --- a/lib/utils/famedlysdk_store.dart +++ b/lib/utils/famedlysdk_store.dart @@ -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(?, ?, ?, ?, ?, ?, ?, ?, ?)",