0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 12:43:50 +01:00
This commit is contained in:
David Baker 2016-04-25 14:42:59 +01:00
parent 05e49ffbdf
commit 290f125a13

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 (