Files
tuwunel/src/api/client/thirdparty.rs
dasha_uwu d4421422b2 Remove explicit unstable thirdparty/protocols route
Already handled by the other ruma route
2025-08-28 23:28:20 +05:00

17 lines
461 B
Rust

use std::collections::BTreeMap;
use ruma::api::client::thirdparty::get_protocols;
use tuwunel_core::Result;
use crate::Ruma;
/// # `GET /_matrix/client/r0/thirdparty/protocols`
///
/// TODO: Fetches all metadata about protocols supported by the homeserver.
pub(crate) async fn get_protocols_route(
_body: Ruma<get_protocols::v3::Request>,
) -> Result<get_protocols::v3::Response> {
// TODO
Ok(get_protocols::v3::Response { protocols: BTreeMap::new() })
}