Fix broken states

This commit is contained in:
Christian Pauly 2020-02-14 15:26:39 +01:00
parent 795d19ee01
commit 1f3aaf47d1
2 changed files with 3 additions and 2 deletions

View File

@ -445,7 +445,8 @@ class ExtendedStore extends Store implements ExtendedStoreAPI {
}
Future<List<Map<String, dynamic>>> 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<List<Map<String, dynamic>>> getAccountDataFromRoomId(String id) async {

View File

@ -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"