mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 07:41:23 +01:00
enable string_add lint
This commit is contained in:
parent
cc5977b4e4
commit
9abe4799db
5 changed files with 14 additions and 13 deletions
|
|
@ -43,7 +43,7 @@ pub(crate) async fn create_content_route(
|
|||
mxc.clone(),
|
||||
body.filename
|
||||
.as_ref()
|
||||
.map(|filename| "inline; filename=".to_owned() + filename)
|
||||
.map(|filename| format!("inline; filename={filename}"))
|
||||
.as_deref(),
|
||||
body.content_type.as_deref(),
|
||||
&body.file,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue