diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2019-10-04 11:18:28 +0100 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2019-10-04 12:10:20 +0100 |
commit | b0a350ef48a970ab9026dde3e6cf8b79beebd805 (patch) | |
tree | ac8d29cd40a19270a54afe2e7f619de70a28592c /synapse/handlers/federation.py | |
parent | Incorporate review (diff) | |
download | synapse-b0a350ef48a970ab9026dde3e6cf8b79beebd805.tar.xz |
Lint
Diffstat (limited to 'synapse/handlers/federation.py')
-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 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", |