Fix broken states
This commit is contained in:
parent
795d19ee01
commit
1f3aaf47d1
2 changed files with 3 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue