From 0a47a2d915a4ede448bced3a44fb0cad81f4be61 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Mon, 23 May 2022 18:28:34 +0200 Subject: [PATCH] events: Remove PartialEq impl for SessionDescription --- crates/ruma-common/CHANGELOG.md | 1 + crates/ruma-common/src/events/call.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/ruma-common/CHANGELOG.md b/crates/ruma-common/CHANGELOG.md index b64d0818..0d3d4606 100644 --- a/crates/ruma-common/CHANGELOG.md +++ b/crates/ruma-common/CHANGELOG.md @@ -4,6 +4,7 @@ Breaking changes: * Add `user_id` field to `PushConditionRoomCtx` * Remove `PartialEq` implementation on `NotificationPowerLevels` +* Remove `PartialEq` implementation for `events::call::SessionDescription` Improvements: diff --git a/crates/ruma-common/src/events/call.rs b/crates/ruma-common/src/events/call.rs index 123cdbbf..5631490b 100644 --- a/crates/ruma-common/src/events/call.rs +++ b/crates/ruma-common/src/events/call.rs @@ -12,7 +12,7 @@ pub mod hangup; pub mod invite; /// A VoIP session description. -#[derive(Clone, Debug, PartialEq, Deserialize, Serialize)] +#[derive(Clone, Debug, Deserialize, Serialize)] #[cfg_attr(not(feature = "unstable-exhaustive-types"), non_exhaustive)] pub struct SessionDescription { /// The type of session description.