fix(sdk): Implement SyncEvent for SyncRedactionEvent

master
Charlotte Som 2021-09-16 03:49:31 +01:00
parent 866ab33c45
commit d83d8b959c
1 changed files with 7 additions and 0 deletions

View File

@ -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)]