diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2019-10-04 11:18:28 +0100 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2019-10-04 11:18:28 +0100 |
commit | 4676732ca061ede3089b9c9b97a6d6b523b8c8e0 (patch) | |
tree | 6d0c1809d649556015a77ae68f477adcdfa5bef8 /synapse/handlers/federation.py | |
parent | Incorporate review (diff) | |
download | synapse-4676732ca061ede3089b9c9b97a6d6b523b8c8e0.tar.xz |
Lint
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/federation.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py index 58a1654885..b2b3a7e221 100644 --- a/synapse/handlers/federation.py +++ b/synapse/handlers/federation.py @@ -2605,9 +2605,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", event_dict |