poljar f1bc5438b3
room/encrypted: Fix the OlmV1 deserialization
A m.room.encrypted event with the algorithm type
"m.olm.v1.curve25519-aes-sha2" will have multiple ciphertext values.

The documentation for the struct field even mentions that the
ciphertext is a map, yet it only expected one body and one message type.

This patch fixes the de-serialization and puts all the available
ciphertext values into a hashmap.
2020-03-09 11:33:08 +01:00
2015-11-29 04:59:34 -08:00
2019-11-24 15:43:13 +01:00
2020-02-19 00:29:50 +01:00
2015-11-29 04:59:34 -08:00
2019-11-24 15:43:13 +01:00

ruma-events

Build Status

ruma-events contains serializable types for the events in the Matrix specification that can be shared by client and server code.

Minimum Rust version

ruma-events requires Rust 1.36.0 or later.

Documentation

ruma-events has comprehensive documentation available on docs.rs.

License

MIT

Description
No description provided
Readme MIT 14 MiB
Languages
Rust 100%