parent
959e10fd15
commit
bb52edf1e0
@ -21,6 +21,10 @@ ruma_api! {
|
|||||||
/// The server name from the mxc:// URI (the authoritory component).
|
/// The server name from the mxc:// URI (the authoritory component).
|
||||||
#[ruma_api(path)]
|
#[ruma_api(path)]
|
||||||
pub server_name: String,
|
pub server_name: String,
|
||||||
|
/// Whether to fetch media deemed remote.
|
||||||
|
/// Used to prevent routing loops. Defaults to `true`.
|
||||||
|
#[ruma_api(query)]
|
||||||
|
pub allow_remote: Option<bool>,
|
||||||
}
|
}
|
||||||
|
|
||||||
response {
|
response {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user