client-api: Add missing default attribute to create_receipt::Request#thread
This commit is contained in:
parent
b538234bce
commit
d6b858c5fa
@ -45,7 +45,7 @@ pub mod v3 {
|
|||||||
/// [`ReceiptType::FullyRead`].
|
/// [`ReceiptType::FullyRead`].
|
||||||
///
|
///
|
||||||
/// Defaults to [`ReceiptThread::Unthreaded`].
|
/// Defaults to [`ReceiptThread::Unthreaded`].
|
||||||
#[serde(rename = "thread_id", skip_serializing_if = "ruma_common::serde::is_default")]
|
#[serde(rename = "thread_id", default, skip_serializing_if = "ruma_common::serde::is_default")]
|
||||||
pub thread: ReceiptThread,
|
pub thread: ReceiptThread,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user