fix: join rooms over federation
This commit is contained in:
parent
1e8fbd8d50
commit
12a8c9badd
17 changed files with 395 additions and 405 deletions
|
@ -34,12 +34,8 @@ pub fn create_content_route(
|
|||
db.globals.server_name(),
|
||||
utils::random_string(MXC_LENGTH)
|
||||
);
|
||||
db.media.create(
|
||||
mxc.clone(),
|
||||
&body.filename,
|
||||
&body.content_type,
|
||||
&body.file,
|
||||
)?;
|
||||
db.media
|
||||
.create(mxc.clone(), &body.filename, &body.content_type, &body.file)?;
|
||||
|
||||
Ok(create_content::Response { content_uri: mxc }.into())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue