events: Allow m.room.tombstone without a body under unstable-synapse-quirks
This commit is contained in:
parent
f2c2f2df2f
commit
634c3f1ee5
@ -15,6 +15,7 @@ pub type TombstoneEvent = StateEvent<TombstoneEventContent>;
|
|||||||
#[ruma_event(type = "m.room.tombstone")]
|
#[ruma_event(type = "m.room.tombstone")]
|
||||||
pub struct TombstoneEventContent {
|
pub struct TombstoneEventContent {
|
||||||
/// A server-defined message.
|
/// A server-defined message.
|
||||||
|
#[cfg_attr(feature = "unstable-synapse-quirks", serde(default))]
|
||||||
pub body: String,
|
pub body: String,
|
||||||
|
|
||||||
/// The new room the client should be visiting.
|
/// The new room the client should be visiting.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user