diff options
author | Erik Johnston <erik@matrix.org> | 2016-08-26 11:23:53 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-08-26 11:23:58 +0100 |
commit | c7cd35d682c51cdd7e14bbf75cb3d17a2da0b99b (patch) | |
tree | c7e08a2b2afb0a09f61c826f6ea53f8585789a23 /synapse/push/presentable_names.py | |
parent | Make None optional (diff) | |
download | synapse-c7cd35d682c51cdd7e14bbf75cb3d17a2da0b99b.tar.xz |
Typo
Diffstat (limited to '')
-rw-r--r-- | synapse/push/presentable_names.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/push/presentable_names.py b/synapse/push/presentable_names.py index 80c9f21a6c..f90b789c05 100644 --- a/synapse/push/presentable_names.py +++ b/synapse/push/presentable_names.py @@ -57,7 +57,6 @@ def calculate_room_name(store, room_state_ids, user_id, fallback_to_members=True canon_alias = yield store.get_event( room_state_ids[("m.room.canonical_alias", "")], allow_none=True ) - canon_alias = room_state_ids[("m.room.canonical_alias", "")] if ( canon_alias and canon_alias.content and canon_alias.content["alias"] and _looks_like_an_alias(canon_alias.content["alias"]) |