mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 07:41:23 +01:00
Update ruma to 0.12.2
This commit is contained in:
parent
48ecf50973
commit
d425ba72f8
8 changed files with 36 additions and 40 deletions
|
|
@ -1901,6 +1901,7 @@ pub(crate) async fn create_invite_route(
|
|||
.event_id()
|
||||
.as_bytes()]))
|
||||
.into(),
|
||||
ephemeral: Vec::new(),
|
||||
},
|
||||
)
|
||||
.await?;
|
||||
|
|
|
|||
|
|
@ -263,8 +263,7 @@ impl Service {
|
|||
pusher.ids.app_id.clone(),
|
||||
pusher.ids.pushkey.clone(),
|
||||
);
|
||||
device.data.default_payload = http.default_payload.clone();
|
||||
device.data.format.clone_from(&http.format);
|
||||
device.data = http.clone().into();
|
||||
|
||||
// Tweaks are only added if the format is NOT event_id_only
|
||||
if !event_id_only {
|
||||
|
|
|
|||
|
|
@ -775,7 +775,9 @@ async fn handle_appservice_event(
|
|||
);
|
||||
}
|
||||
SendingEventType::Edu(_) => {
|
||||
// Appservices don't need EDUs (?)
|
||||
// TODO: send EDUs in
|
||||
// `appservice::event::push_events::v1::Request::ephemeral` if
|
||||
// enabled in registration
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -796,6 +798,7 @@ async fn handle_appservice_event(
|
|||
SendingEventType::Pdu(b) => b.as_bytes(),
|
||||
})))
|
||||
.into(),
|
||||
ephemeral: Vec::new(),
|
||||
},
|
||||
)
|
||||
.await?;
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ pub(crate) enum Error {
|
|||
BadDatabase(&'static str),
|
||||
#[error("uiaa")]
|
||||
Uiaa(UiaaInfo),
|
||||
#[error("{0}: {1}")]
|
||||
#[error("{}: {}", .0.errcode(), .1)]
|
||||
BadRequest(ErrorKind, &'static str),
|
||||
// This is only needed for when a room alias already exists
|
||||
#[error("{0}")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue