From 6311fc644ee284208ae0015319237270df457174 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Sat, 30 Nov 2024 17:46:19 +0100 Subject: [PATCH] client-api: Remove sentence about optional reason being blank. If it is optional it makes no sense for it to be blank. This is due to a clarification in the Matrix spec. --- crates/ruma-client-api/src/room/report_content.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/ruma-client-api/src/room/report_content.rs b/crates/ruma-client-api/src/room/report_content.rs index 23cff10e..2da700a7 100644 --- a/crates/ruma-client-api/src/room/report_content.rs +++ b/crates/ruma-client-api/src/room/report_content.rs @@ -39,8 +39,6 @@ pub mod v3 { pub score: Option, /// Reason to report content. - /// - /// May be blank. #[serde(skip_serializing_if = "Option::is_none")] pub reason: Option, }