events: Implement MSC3700
This commit is contained in:
parent
e1c35b3d7f
commit
4e4c2b0552
@ -43,6 +43,7 @@ unstable-msc3551 = ["unstable-msc1767"]
|
||||
unstable-msc3552 = ["unstable-msc3551"]
|
||||
unstable-msc3553 = ["unstable-msc3552"]
|
||||
unstable-msc3554 = ["unstable-msc1767"]
|
||||
unstable-msc3700 = []
|
||||
|
||||
[dependencies]
|
||||
base64 = "0.13.0"
|
||||
|
@ -264,9 +264,11 @@ pub struct MegolmV1AesSha2Content {
|
||||
pub ciphertext: String,
|
||||
|
||||
/// The Curve25519 key of the sender.
|
||||
#[cfg_attr(feature = "unstable-msc3700", deprecated = "as of Matrix v1.3")]
|
||||
pub sender_key: String,
|
||||
|
||||
/// The ID of the sending device.
|
||||
#[cfg_attr(feature = "unstable-msc3700", deprecated = "as of Matrix v1.3")]
|
||||
pub device_id: OwnedDeviceId,
|
||||
|
||||
/// The ID of the session used to encrypt the message.
|
||||
|
@ -81,6 +81,7 @@ pub struct RequestedKeyInfo {
|
||||
pub room_id: OwnedRoomId,
|
||||
|
||||
/// The Curve25519 key of the device which initiated the session originally.
|
||||
#[cfg_attr(feature = "unstable-msc3700", deprecated = "as of Matrix v1.3")]
|
||||
pub sender_key: String,
|
||||
|
||||
/// The ID of the session that the key is for.
|
||||
|
Loading…
x
Reference in New Issue
Block a user