rename Ruma to Ar

This follows the pattern of the previous commit.
This commit is contained in:
Charles Hall 2024-05-18 19:01:27 -07:00
parent 7ea98dac72
commit f8961d5578
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
37 changed files with 183 additions and 181 deletions

View file

@ -24,7 +24,7 @@ use ruma::{
use serde::Deserialize;
use tracing::{debug, error, warn};
use super::{Ra, Ruma};
use super::{Ar, Ra};
use crate::{service::appservice::RegistrationInfo, services, Error, Result};
enum Token {
@ -35,7 +35,7 @@ enum Token {
}
#[async_trait]
impl<T, S, B> FromRequest<S, B> for Ruma<T>
impl<T, S, B> FromRequest<S, B> for Ar<T>
where
T: IncomingRequest,
B: HttpBody + Send + 'static,
@ -379,7 +379,7 @@ where
)
})?;
Ok(Ruma {
Ok(Ar {
body,
sender_user,
sender_device,