events: Update definition of DummyToDeviceEventContent
Make it a unit struct instead of a struct struct without fields.
This commit is contained in:
parent
aba58909aa
commit
d03a7363e6
@ -12,8 +12,8 @@ use serde::{Deserialize, Serialize};
|
|||||||
/// The event does not have any content associated with it. The sending client is expected to
|
/// The event does not have any content associated with it. The sending client is expected to
|
||||||
/// send a key share request shortly after this message, causing the receiving client to process
|
/// send a key share request shortly after this message, causing the receiving client to process
|
||||||
/// this *m.dummy* event as the most recent event and using the keyshare request to set up the
|
/// this *m.dummy* event as the most recent event and using the keyshare request to set up the
|
||||||
/// session. The keyshare request and *m.dummy* combination should result in the original
|
/// session. The keyshare request and *m.dummy* combination should result in the original sending
|
||||||
/// sending client receiving keys over the newly established session.
|
/// client receiving keys over the newly established session.
|
||||||
#[derive(Clone, Debug, Deserialize, Serialize, EventContent)]
|
#[derive(Clone, Debug, Deserialize, Serialize, EventContent)]
|
||||||
#[ruma_event(type = "m.dummy", kind = ToDevice)]
|
#[ruma_event(type = "m.dummy", kind = ToDevice)]
|
||||||
pub struct DummyToDeviceEventContent {}
|
pub struct DummyToDeviceEventContent;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user