mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-18 16:21:24 +01:00
rename Ruma to Ar
This follows the pattern of the previous commit.
This commit is contained in:
parent
7ea98dac72
commit
f8961d5578
37 changed files with 183 additions and 181 deletions
|
|
@ -2,13 +2,13 @@ use std::collections::BTreeMap;
|
|||
|
||||
use ruma::api::client::thirdparty::get_protocols;
|
||||
|
||||
use crate::{Ra, Result, Ruma};
|
||||
use crate::{Ar, Ra, Result};
|
||||
|
||||
/// # `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>,
|
||||
_body: Ar<get_protocols::v3::Request>,
|
||||
) -> Result<Ra<get_protocols::v3::Response>> {
|
||||
// TODO
|
||||
Ok(Ra(get_protocols::v3::Response {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue