mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-09-07 22:02:12 +00:00
Fix handling of rejected threepid invites
This commit is contained in:
parent
25baf3b2ac
commit
69e857853f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user