Skip to content

Fixed more decoding errors and started standardizing content models

Michael Hollister requested to merge bugfix/fix-room-creation-for-sync-test into main

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 and RoomCreateContent models. Added unit test for RoomCreateContent 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

Merge request reports

Loading