Update ruma to 0.12.2

This commit is contained in:
Lambda 2025-04-17 17:34:49 +00:00 committed by Olivia Lee
parent 48ecf50973
commit d425ba72f8
No known key found for this signature in database
GPG key ID: 54D568A15B9CD1F9
8 changed files with 36 additions and 40 deletions

View file

@ -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 {

View file

@ -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?;