diff --git a/crates/ruma-federation-api/src/discovery/get_remote_server_keys_batch/v2.rs b/crates/ruma-federation-api/src/discovery/get_remote_server_keys_batch/v2.rs index ceefdc38..04cbc67e 100644 --- a/crates/ruma-federation-api/src/discovery/get_remote_server_keys_batch/v2.rs +++ b/crates/ruma-federation-api/src/discovery/get_remote_server_keys_batch/v2.rs @@ -64,6 +64,9 @@ pub struct QueryCriteria { /// /// If not supplied, the current time as determined by the notary server is /// used. + // This doesn't use `serde(default)` because the default would then be + // determined by the client rather than the server (and it would take more + // bandwidth because `skip_serializing_if` couldn't be used). #[serde(skip_serializing_if = "Option::is_none")] pub minimum_valid_until_ts: Option, }