Fix handling of rejected threepid invites

This commit is contained in:
Erik Johnston 2018-10-03 11:57:30 +01:00
parent 25baf3b2ac
commit 69e857853f
1 changed files with 1 additions and 1 deletions

View File

@ -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: