Skip to content

Commit edc8c33

Browse files
committed
add default implementation for readRoomState.
1 parent fa78686 commit edc8c33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/driver/WidgetDriver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ export abstract class WidgetDriver {
276276
* current values of the room state entries.
277277
*/
278278
public readRoomState(roomId: string, eventType: string, stateKey: string | undefined): Promise<IRoomEvent[]> {
279-
return Promise.resolve([]);
279+
return this.readStateEvents(eventType, stateKey, Number.MAX_SAFE_INTEGER, [roomId]);
280280
}
281281

282282
/**

0 commit comments

Comments
 (0)