Abstract Pdu filter matching into trait Event.

Abstract Pdu unsigned accessors into trait Event.

Abstract Pdu relation related into trait Event.

Abstract PDU content into trait Event.

Move event_id utils from pdu to event.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2025-05-11 07:02:14 +00:00
1 parent 222e89f6fe
commit af7dfb31bc
56 files changed
+666 -492

No files matched your search

+5 -2
View File
@@ -8,8 +8,11 @@ use ruma::{
serde::JsonObject,
};
use tuwunel_core::{
Err, Error, PduEvent, Result, err, matrix::Event, pdu::gen_event_id, utils,
utils::hash::sha256, warn,
Err, Error, Result, err,
matrix::{Event, PduEvent, event::gen_event_id},
utils,
utils::hash::sha256,
warn,
};
use crate::Ruma;