We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cb939f commit 30d063cCopy full SHA for 30d063c
1 file changed
crates/ruma-client-api/src/membership/joined_members.rs
@@ -61,14 +61,12 @@ pub mod v3 {
61
#[cfg_attr(not(ruma_unstable_exhaustive_types), non_exhaustive)]
62
pub struct RoomMember {
63
/// The display name of the user.
64
- #[serde(skip_serializing_if = "Option::is_none")]
65
pub display_name: Option<String>,
66
67
/// The mxc avatar url of the user.
68
///
69
/// If you activate the `compat-empty-string-null` feature, this field being an empty
70
/// string in JSON will result in `None` here during deserialization.
71
72
#[cfg_attr(
73
feature = "compat-empty-string-null",
74
serde(default, deserialize_with = "ruma_common::serde::empty_string_as_none")
0 commit comments