mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 07:41:23 +01:00
Update style edition to 2024
This commit is contained in:
parent
6e0152d4e5
commit
a4355fe8aa
121 changed files with 367 additions and 335 deletions
|
|
@ -2,10 +2,10 @@ use std::time::Duration;
|
|||
|
||||
use axum::response::IntoResponse;
|
||||
use http::{
|
||||
header::{CONTENT_DISPOSITION, CONTENT_SECURITY_POLICY, CONTENT_TYPE},
|
||||
HeaderName, HeaderValue, Method,
|
||||
header::{CONTENT_DISPOSITION, CONTENT_SECURITY_POLICY, CONTENT_TYPE},
|
||||
};
|
||||
use phf::{phf_set, Set};
|
||||
use phf::{Set, phf_set};
|
||||
use ruma::{
|
||||
api::{
|
||||
client::{
|
||||
|
|
@ -20,10 +20,10 @@ use ruma::{
|
|||
use tracing::{debug, error, info, warn};
|
||||
|
||||
use crate::{
|
||||
Ar, Error, Ra, Result,
|
||||
service::media::FileMeta,
|
||||
services,
|
||||
utils::{self, MxcData},
|
||||
Ar, Error, Ra, Result,
|
||||
};
|
||||
|
||||
const MXC_LENGTH: usize = 32;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue