diff --git a/lib/utils/famedlysdk_store.dart b/lib/utils/famedlysdk_store.dart index 2f61368..fc6e6bf 100644 --- a/lib/utils/famedlysdk_store.dart +++ b/lib/utils/famedlysdk_store.dart @@ -445,7 +445,8 @@ class ExtendedStore extends Store implements ExtendedStoreAPI { } Future>> getStatesFromRoomId(String id) async { - return _db.rawQuery("SELECT * FROM RoomStates WHERE room_id=?", [id]); + return _db.rawQuery( + "SELECT * FROM RoomStates WHERE room_id=? AND type IS NOT NULL", [id]); } Future>> getAccountDataFromRoomId(String id) async { diff --git a/pubspec.yaml b/pubspec.yaml index 9eda8c9..64b65c5 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -11,7 +11,7 @@ description: Chat with your friends. # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 0.7.3+23 +version: 0.7.4+24 environment: sdk: ">=2.6.0 <3.0.0"