mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-06-26 16:26:37 +02:00
18 lines
513 B
Rust
18 lines
513 B
Rust
use crate::{ConduitResult, Ruma};
|
|
use ruma::api::client::r0::thirdparty::get_protocols;
|
|
|
|
use std::collections::BTreeMap;
|
|
|
|
/// # `GET /_matrix/client/r0/thirdparty/protocols`
|
|
///
|
|
/// TODO: Fetches all metadata about protocols supported by the homeserver.
|
|
#[tracing::instrument(skip(_body))]
|
|
pub async fn get_protocols_route(
|
|
_body: Ruma<get_protocols::Request>,
|
|
) -> ConduitResult<get_protocols::Response> {
|
|
// TODO
|
|
Ok(get_protocols::Response {
|
|
protocols: BTreeMap::new(),
|
|
}
|
|
.into())
|
|
}
|