mirror of
https://gitlab.com/famedly/conduit.git
synced 2025-01-10 00:04:46 +00:00
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: Timo Kösters <timo@koesters.xyz>
This commit is contained in:
commit
15fa7fb1cc
@ -11,7 +11,7 @@ use ruma::api::client::{
|
||||
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(
|
||||
|
Loading…
Reference in New Issue
Block a user