mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-18 16:02:15 +01:00
Typo
This commit is contained in:
parent
54cc69154e
commit
c7cd35d682
1 changed files with 0 additions and 1 deletions
|
@ -57,7 +57,6 @@ def calculate_room_name(store, room_state_ids, user_id, fallback_to_members=True
|
||||||
canon_alias = yield store.get_event(
|
canon_alias = yield store.get_event(
|
||||||
room_state_ids[("m.room.canonical_alias", "")], allow_none=True
|
room_state_ids[("m.room.canonical_alias", "")], allow_none=True
|
||||||
)
|
)
|
||||||
canon_alias = room_state_ids[("m.room.canonical_alias", "")]
|
|
||||||
if (
|
if (
|
||||||
canon_alias and canon_alias.content and canon_alias.content["alias"] and
|
canon_alias and canon_alias.content and canon_alias.content["alias"] and
|
||||||
_looks_like_an_alias(canon_alias.content["alias"])
|
_looks_like_an_alias(canon_alias.content["alias"])
|
||||||
|
|
Loading…
Reference in a new issue