Compare commits

...

1 Commits

Author SHA1 Message Date
Charlotte Som d83d8b959c fix(sdk): Implement SyncEvent for SyncRedactionEvent 2021-09-16 04:21:07 +01:00
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);
}
impl SyncEvent for events::room::redaction::SyncRedactionEvent {
const ID: (EventKind, &'static str) = (
EventKind::Message { redacted: false },
events::room::redaction::RedactionEventContent::TYPE,
);
}
}
#[cfg(test)]