Skip to content

Commit 050b222

Browse files
x86pupjevolk
authored andcommitted
remove skip_serializing_if on join_rule PublicRoomsChunk
Signed-off-by: June Strawberry <june@vern.cc>
1 parent f257299 commit 050b222

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/ruma-common/src/directory.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ pub struct PublicRoomsChunk {
6161
pub avatar_url: Option<OwnedMxcUri>,
6262

6363
/// The join rule of the room.
64-
#[serde(default, skip_serializing_if = "crate::serde::is_default")]
64+
#[serde(default)]
6565
pub join_rule: JoinRuleKind,
6666

6767
/// The type of room from `m.room.create`, if any.

0 commit comments

Comments
 (0)