1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2025-06-27 16:35:59 +00:00
conduit/src/client_server/thirdparty.rs

20 lines
462 B
Rust
Raw Normal View History

2020-07-30 18:14:47 +02:00
use crate::ConduitResult;
use ruma::api::client::r0::thirdparty::get_protocols;
#[cfg(feature = "conduit_bin")]
use rocket::get;
use std::collections::BTreeMap;
#[cfg_attr(
feature = "conduit_bin",
get("/_matrix/client/r0/thirdparty/protocols")
)]
2021-02-28 12:41:03 +01:00
#[tracing::instrument]
pub async fn get_protocols_route() -> ConduitResult<get_protocols::Response> {
// TODO
2020-07-30 18:14:47 +02:00
Ok(get_protocols::Response {
protocols: BTreeMap::new(),
}
.into())
}