diff --git a/src/matrix/storage/idb/stores/RoomStateStore.ts b/src/matrix/storage/idb/stores/RoomStateStore.ts index 99315e9e..e7661378 100644 --- a/src/matrix/storage/idb/stores/RoomStateStore.ts +++ b/src/matrix/storage/idb/stores/RoomStateStore.ts @@ -43,9 +43,9 @@ export class RoomStateStore { getAllForType(roomId: string, type: string): Promise { const range = this._roomStateStore.IDBKeyRange.bound( - encodeKey(roomId, type, MIN_UNICODE), + encodeKey(roomId, type, ""), encodeKey(roomId, type, MAX_UNICODE), - true, + false, true ); return this._roomStateStore.selectAll(range);