From d95c3f126f4808a0eba4c15e7d1d5e59c00f48a5 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 2 Oct 2025 15:06:46 +0000 Subject: [PATCH] Fix typos Signed-off-by: Jason Volk --- docs/deploying/generic.md | 2 +- src/api/client/space.rs | 2 +- src/service/users/mod.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/deploying/generic.md b/docs/deploying/generic.md index 9e32aeb8..f5b098d1 100644 --- a/docs/deploying/generic.md +++ b/docs/deploying/generic.md @@ -166,7 +166,7 @@ sudo systemctl enable --now caddy ### Other Reverse Proxies -As we would prefer our users to use Caddy, we will not provide configuration files for other proxys. +As we would prefer our users to use Caddy, we will not provide configuration files for other proxies. You will need to reverse proxy everything under following routes: - `/_matrix/` - core Matrix C-S and S-S APIs diff --git a/src/api/client/space.rs b/src/api/client/space.rs index 55e41502..48bd8696 100644 --- a/src/api/client/space.rs +++ b/src/api/client/space.rs @@ -44,7 +44,7 @@ pub(crate) async fn get_hierarchy_route( .as_ref() .and_then(|s| PaginationToken::from_str(s).ok()); - // Should prevent unexpeded behaviour in (bad) clients + // Should prevent unexpected behaviour in (bad) clients if let Some(ref token) = key { if token.suggested_only != body.suggested_only || token.max_depth != max_depth { return Err!(Request(InvalidParam( diff --git a/src/service/users/mod.rs b/src/service/users/mod.rs index 3ec1d7d7..ba2322d6 100644 --- a/src/service/users/mod.rs +++ b/src/service/users/mod.rs @@ -267,7 +267,7 @@ impl Service { } /// Sets a new displayname or removes it if displayname is None. You still - /// need to nofify all rooms of this change. + /// need to notify all rooms of this change. pub fn set_displayname(&self, user_id: &UserId, displayname: Option) { if let Some(displayname) = displayname { self.db