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:
parent
9a765f9d2b
commit
6311fc644e
@ -39,8 +39,6 @@ pub mod v3 {
|
|||||||
pub score: Option<Int>,
|
pub score: Option<Int>,
|
||||||
|
|
||||||
/// Reason to report content.
|
/// Reason to report content.
|
||||||
///
|
|
||||||
/// May be blank.
|
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub reason: Option<String>,
|
pub reason: Option<String>,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user