mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-07 15:33:45 -04:00
When deserialization fails we fallback to providing the user with a serde_json::RawValue, basically the json string. Ruma should handle all events that conform to a matrix event shape correctly by either converting them to their type or returning a custom event.