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.
This commit is contained in:
Kévin Commaille 2024-11-30 17:46:19 +01:00 committed by strawberry
parent 9a765f9d2b
commit 6311fc644e

View File

@ -39,8 +39,6 @@ pub mod v3 {
pub score: Option<Int>,
/// Reason to report content.
///
/// May be blank.
#[serde(skip_serializing_if = "Option::is_none")]
pub reason: Option<String>,
}