From fe2d62a5ee2b2dc164c1ef2a72d903373fed8b25 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Wed, 14 Jun 2023 12:20:15 +0200 Subject: [PATCH] Remove unused pub visibility --- .../src/events/room/encrypted/relation_serde.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/ruma-common/src/events/room/encrypted/relation_serde.rs b/crates/ruma-common/src/events/room/encrypted/relation_serde.rs index 2e3fef05..28e4b005 100644 --- a/crates/ruma-common/src/events/room/encrypted/relation_serde.rs +++ b/crates/ruma-common/src/events/room/encrypted/relation_serde.rs @@ -104,19 +104,19 @@ impl RelatesToJsonRepr { #[derive(Clone, Deserialize, Serialize)] struct ThreadStableJsonRepr { /// The ID of the root message in the thread. - pub event_id: OwnedEventId, + event_id: OwnedEventId, /// Whether the `m.in_reply_to` field is a fallback for older clients or a real reply in a /// thread. #[serde(default, skip_serializing_if = "ruma_common::serde::is_default")] - pub is_falling_back: bool, + is_falling_back: bool, } /// A thread relation without the reply fallback, with unstable names. #[derive(Clone, Deserialize, Serialize)] struct ThreadUnstableJsonRepr { /// The ID of the root message in the thread. - pub event_id: OwnedEventId, + event_id: OwnedEventId, /// Whether the `m.in_reply_to` field is a fallback for older clients or a real reply in a /// thread. @@ -125,7 +125,7 @@ struct ThreadUnstableJsonRepr { default, skip_serializing_if = "ruma_common::serde::is_default" )] - pub is_falling_back: bool, + is_falling_back: bool, } /// A relation, which associates new information to an existing event.