mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-18 00:01:24 +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
|
|
@ -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?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue