chore: Fix typos

This commit is contained in:
Jade Ellis
2025-11-08 20:54:49 +00:00
parent d6e314744b
commit ce73d29855
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -345,7 +345,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<String>) {
if let Some(displayname) = displayname {
self.db.userid_displayname.insert(user_id, displayname);