mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-16 06:51:46 +01:00
Typo
This commit is contained in:
parent
05e49ffbdf
commit
290f125a13
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ def calculate_room_name(room_state, user_id):
|
||||||
if m_room_name.content and m_room_name.content["name"]:
|
if m_room_name.content and m_room_name.content["name"]:
|
||||||
return 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:
|
if ("m.room.canonical_alias", "") in room_state:
|
||||||
canon_alias = room_state[("m.room.canonical_alias", "")]
|
canon_alias = room_state[("m.room.canonical_alias", "")]
|
||||||
if (
|
if (
|
||||||
|
|
Loading…
Reference in a new issue