diff options
author | Erik Johnston <erik@matrix.org> | 2018-10-03 11:57:30 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-10-03 11:57:30 +0100 |
commit | 69e857853fe91d22fa792c9e26edd87840526c22 (patch) | |
tree | fcebcd06c8ecf2a3d2235dad9a62e88310533d7f | |
parent | Merge pull request #3991 from matrix-org/erikj/fix_pop_retry_cache (diff) | |
download | synapse-69e857853fe91d22fa792c9e26edd87840526c22.tar.xz |
Fix handling of rejected threepid invites
-rw-r--r-- | synapse/event_auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/event_auth.py b/synapse/event_auth.py index 02fa46ef7f..c6c011b6b6 100644 --- a/synapse/event_auth.py +++ b/synapse/event_auth.py @@ -157,7 +157,7 @@ def check(event, auth_events, do_sig_check=True, do_size_check=True): raise AuthError( 403, ( "You cannot issue a third party invite for %s." % - (event.content.display_name,) + (event.content.get("display_name", "<Unknown>"),) ) ) else: |