Fixed more decoding errors and started standardizing content models
Note: testLoginAndSync
still fails as the root cause of the issue has been identified (empty list of rooms.join.state events), but will be resolved in a subsequent MR after further work is done on some pre-requisites needed for testing.
Changes:
- Fixed
RoomCanonicalAliasContent
andRoomCreateContent
models. Added unit test forRoomCreateContent
decoding - Changed
RoomCreateContent
fields to be more strongly-typed (converted from raw types to matrix types) - Started standardizing some room content classes to use constants rather than variables
- Added documentation links for content models
- Renamed few models in accordance with its matrix event naming scheme