fix(sdk): Implement SyncEvent for SyncRedactionEvent
parent
866ab33c45
commit
d83d8b959c
|
@ -432,6 +432,13 @@ mod static_events {
|
||||||
{
|
{
|
||||||
const ID: (EventKind, &'static str) = (EventKind::State { redacted: true }, C::TYPE);
|
const ID: (EventKind, &'static str) = (EventKind::State { redacted: true }, C::TYPE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl SyncEvent for events::room::redaction::SyncRedactionEvent {
|
||||||
|
const ID: (EventKind, &'static str) = (
|
||||||
|
EventKind::Message { redacted: false },
|
||||||
|
events::room::redaction::RedactionEventContent::TYPE,
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
|
|
Loading…
Reference in New Issue