diff --git a/crates/ruma-client-api/src/sync/sync_events/v4.rs b/crates/ruma-client-api/src/sync/sync_events/v4.rs index 3a40ac5b..09d31b27 100644 --- a/crates/ruma-client-api/src/sync/sync_events/v4.rs +++ b/crates/ruma-client-api/src/sync/sync_events/v4.rs @@ -11,9 +11,9 @@ use js_int::UInt; use ruma_common::{ api::{request, response, Metadata}, events::{ - AnyEphemeralRoomEvent, AnyGlobalAccountDataEvent, AnyRoomAccountDataEvent, - AnyStrippedStateEvent, AnySyncStateEvent, AnySyncTimelineEvent, AnyToDeviceEvent, - StateEventType, + receipt::SyncReceiptEvent, typing::SyncTypingEvent, AnyGlobalAccountDataEvent, + AnyRoomAccountDataEvent, AnyStrippedStateEvent, AnySyncStateEvent, AnySyncTimelineEvent, + AnyToDeviceEvent, StateEventType, }, metadata, serde::{duration::opt_ms, Raw}, @@ -642,9 +642,9 @@ pub struct ReceiptsConfig { #[derive(Clone, Debug, Default, Serialize, Deserialize)] #[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)] pub struct Receipts { - /// The empheral receipt room event for each room + /// The ephemeral receipt room event for each room #[serde(default, skip_serializing_if = "BTreeMap::is_empty")] - pub rooms: BTreeMap>, + pub rooms: BTreeMap>, } /// Typing extension configuration. @@ -668,5 +668,5 @@ pub struct TypingConfig { pub struct Typing { /// The empheral typing event for each room #[serde(default, skip_serializing_if = "BTreeMap::is_empty")] - pub rooms: BTreeMap>, + pub rooms: BTreeMap>, }