diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2019-10-02 12:17:46 +0100 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2019-10-02 12:17:46 +0100 |
commit | 972c9f65d7ddf94ce024b57397d651d184cb2d26 (patch) | |
tree | aefbb2bfb5694e0e55a588434f9dc43be611a73f | |
parent | Don't 500 code when trying to exchange a revoked 3PID invite (diff) | |
download | synapse-972c9f65d7ddf94ce024b57397d651d184cb2d26.tar.xz |
Lint
-rw-r--r-- | synapse/handlers/federation.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py index a3d7739ead..75d79bb8e4 100644 --- a/synapse/handlers/federation.py +++ b/synapse/handlers/federation.py @@ -2603,7 +2603,9 @@ class FederationHandler(BaseHandler): # invite has been revoked. if original_invite.content: display_name = original_invite.content["display_name"] - event_dict["content"]["third_party_invite"]["display_name"] = display_name + event_dict["content"]["third_party_invite"][ + "display_name" + ] = display_name else: # Don't discard or raise an error here because that's not the right place # to do auth checks. The auth check will fail on this invite because we |