events: Fix UI test failing with compat feature
This commit is contained in:
parent
fb0e3008bb
commit
367f4ac0e6
@ -2,7 +2,7 @@
|
|||||||
// https://github.com/rust-lang/rust/issues/55779
|
// https://github.com/rust-lang/rust/issues/55779
|
||||||
extern crate serde;
|
extern crate serde;
|
||||||
|
|
||||||
use ruma_events::StateEventContent;
|
use ruma_events::{StateEventContent, Unsigned};
|
||||||
use ruma_events_macros::Event;
|
use ruma_events_macros::Event;
|
||||||
|
|
||||||
/// State event.
|
/// State event.
|
||||||
@ -11,6 +11,7 @@ pub struct StateEvent<C: StateEventContent> {
|
|||||||
pub content: C,
|
pub content: C,
|
||||||
pub state_key: String,
|
pub state_key: String,
|
||||||
pub prev_content: Option<C>,
|
pub prev_content: Option<C>,
|
||||||
|
pub unsigned: Unsigned,
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() {}
|
fn main() {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user