summary refs log tree commit diff
path: root/synapse/handlers/federation.py
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-10-04 11:18:28 +0100
committerBrendan Abolivier <babolivier@matrix.org>2019-10-04 12:10:20 +0100
commitb0a350ef48a970ab9026dde3e6cf8b79beebd805 (patch)
treeac8d29cd40a19270a54afe2e7f619de70a28592c /synapse/handlers/federation.py
parentIncorporate review (diff)
downloadsynapse-b0a350ef48a970ab9026dde3e6cf8b79beebd805.tar.xz
Lint
Diffstat (limited to 'synapse/handlers/federation.py')
-rw-r--r--synapse/handlers/federation.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py
index c5dc3f2a27..3feb95d53f 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -2705,9 +2705,7 @@ class FederationHandler(BaseHandler):
             # fetch public keys from the m.room.third_party_invite event's content, which
             # is empty.
             display_name = original_invite.content.get("display_name")
-            event_dict["content"]["third_party_invite"][
-                "display_name"
-            ] = display_name
+            event_dict["content"]["third_party_invite"]["display_name"] = display_name
         else:
             logger.info(
                 "Could not find invite event for third_party_invite: %r",