mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-06 15:04:11 -04:00
feat(sdk): Allow OriginalSyncRoomRedactionEvent as first event handler param
This commit is contained in:
committed by
Jonas Platte
parent
02587bf6bf
commit
1f714e9cc5
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user