From c7cd35d682c51cdd7e14bbf75cb3d17a2da0b99b Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Fri, 26 Aug 2016 11:23:53 +0100 Subject: [PATCH] Typo --- synapse/push/presentable_names.py | 1 - 1 file changed, 1 deletion(-) diff --git a/synapse/push/presentable_names.py b/synapse/push/presentable_names.py index 80c9f21a6..f90b789c0 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"])