Upgrade ruma
… and refactor push rule code along the way.
This commit is contained in:
@@ -46,7 +46,7 @@ pub async fn create_content_route(
|
||||
db.flush().await?;
|
||||
|
||||
Ok(create_content::Response {
|
||||
content_uri: mxc,
|
||||
content_uri: mxc.try_into().expect("Invalid mxc:// URI"),
|
||||
blurhash: None,
|
||||
}
|
||||
.into())
|
||||
|
||||
Reference in New Issue
Block a user