libQuotient icon indicating copy to clipboard operation
libQuotient copied to clipboard

GetRoomStateByTypeJob is broken

Open KitsuneRal opened this issue 6 years ago • 1 comments

Somebody's stolen the returned value from it.

KitsuneRal avatar Mar 01 '19 11:03 KitsuneRal

Same for GetRoomStateWithKey; and the reason is that the returned value is defined as simply schema: { type: object } in YAML. GTAD (reasonably) treats this as "anything, so don't bother parsing". In reality both of those should stand for some content object - but the library doesn't really have a base state event content object :(

KitsuneRal avatar Mar 17 '19 22:03 KitsuneRal