summary refs log tree commit diff
path: root/synapse/util/room_name.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/util/room_name.py')
-rw-r--r--synapse/util/room_name.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/util/room_name.py b/synapse/util/room_name.py
index d85ccaea55..f55ef293b6 100644
--- a/synapse/util/room_name.py
+++ b/synapse/util/room_name.py
@@ -29,7 +29,7 @@ def calculate_room_name(room_state, user_id):
         if m_room_name.content and m_room_name.content["name"]:
             return m_room_name.content["name"]
 
-    # does it have a caononical alias?
+    # does it have a canonical alias?
     if ("m.room.canonical_alias", "") in room_state:
         canon_alias = room_state[("m.room.canonical_alias", "")]
         if (