248fff370a
The test json used for mocking a sync response contained an ill-formed event with a room_id key present in the event. Since the deserialization ignores the room_id key, this resulted in the client's membership state evaluating to left going by the contents of the state events, despite the room being in the "joined" section of the sync response. This is a violation of the spec.