Skip to content
Snippets Groups Projects
Commit 15fa7fb1 authored by Timo Kösters's avatar Timo Kösters
Browse files

Merge pull request 'Reduce media ID length from 256 to 32' (#216) from...

Merge pull request 'Reduce media ID length from 256 to 32' (#216) from miruka/conduit:reduce-mxc-length into master

Reviewed-on: https://git.koesters.xyz/timo/conduit/pulls/216


Reviewed-by: default avatarTimo Kösters <timo@koesters.xyz>
parents 0e817f69 b6ed018d
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@
use rocket::{get, post};
use std::convert::TryInto;
const MXC_LENGTH: usize = 256;
const MXC_LENGTH: usize = 32;
#[cfg_attr(feature = "conduit_bin", get("/_matrix/media/r0/config"))]
pub fn get_media_config_route(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment