mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 07:41:23 +01:00
upgrade to latest ruma
This commit is contained in:
parent
2dbb101140
commit
c9c30fba30
8 changed files with 119 additions and 119 deletions
|
|
@ -670,11 +670,13 @@ pub(crate) async fn get_content_thumbnail_legacy_route(
|
|||
AmResponse {
|
||||
file,
|
||||
content_type,
|
||||
..
|
||||
}: AmResponse,
|
||||
) -> LegacyResponse {
|
||||
LegacyResponse {
|
||||
file,
|
||||
content_type,
|
||||
content_disposition: None,
|
||||
cross_origin_resource_policy: Some("cross-origin".to_owned()),
|
||||
}
|
||||
}
|
||||
|
|
@ -833,6 +835,7 @@ async fn get_content_thumbnail_route_ruma(
|
|||
authenticated_media_client::get_content_thumbnail::v1::Response {
|
||||
file,
|
||||
content_type,
|
||||
content_disposition: None,
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue