push-gateway-api: Rewrap comment

This commit is contained in:
Jonas Platte 2021-12-23 22:50:01 +01:00
parent 7cf3abbaf0
commit 16b649025c
No known key found for this signature in database
GPG Key ID: 7D261D771D915378

View File

@ -29,15 +29,13 @@ ruma_api! {
#[derive(Default)] #[derive(Default)]
response: { response: {
/// A list of all pushkeys given in the notification request that are /// A list of all pushkeys given in the notification request that are not valid.
/// not valid.
/// ///
/// These could have been rejected by an upstream gateway because they /// These could have been rejected by an upstream gateway because they have expired or have
/// have expired or have never been valid. Homeservers must cease /// never been valid. Homeservers must cease sending notification requests for these
/// sending notification requests for these pushkeys and remove the /// pushkeys and remove the associated pushers. It may not necessarily be the notification
/// associated pushers. It may not necessarily be the notification in /// in the request that failed: it could be that a previous notification to the same pushkey
/// the request that failed: it could be that a previous notification to /// failed. May be empty.
/// the same pushkey failed. May be empty.
pub rejected: Vec<String>, pub rejected: Vec<String>,
} }
} }