0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 01:13:50 +01:00

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

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: