This commit is contained in:
David Baker 2016-04-25 14:42:59 +01:00
parent 05e49ffbdf
commit 290f125a13
1 changed files with 1 additions and 1 deletions

View File

@ -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 (