renames for core pdu

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-11-07 03:30:47 +00:00
parent e507c31306
commit 79c6b51860
12 changed files with 123 additions and 89 deletions

View file

@ -4,9 +4,9 @@ pub use ruma::state_res::Event;
use ruma::{events::TimelineEventType, EventId, MilliSecondsSinceUnixEpoch, RoomId, UserId};
use serde_json::value::RawValue as RawJsonValue;
use super::PduEvent;
use super::Pdu;
impl Event for PduEvent {
impl Event for Pdu {
type Id = Arc<EventId>;
fn event_id(&self) -> &Self::Id { &self.event_id }