feat(sdk): Allow OriginalSyncRoomRedactionEvent as first event handler param

This commit is contained in:
Jonas Platte
2022-05-09 12:53:42 +02:00
committed by Jonas Platte
parent 02587bf6bf
commit 1f714e9cc5

View File

@@ -494,6 +494,13 @@ mod static_events {
(EventKind::MessageLike, events::room::redaction::RoomRedactionEventContent::TYPE);
}
impl SyncEvent for events::room::redaction::OriginalSyncRoomRedactionEvent {
const ID: (EventKind, &'static str) = (
EventKind::OriginalMessageLike,
events::room::redaction::RoomRedactionEventContent::TYPE,
);
}
impl SyncEvent for events::room::redaction::RedactedSyncRoomRedactionEvent {
const ID: (EventKind, &'static str) = (
EventKind::RedactedMessageLike,