mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 17:53:51 +01:00
Fix handling of rejected threepid invites
This commit is contained in:
parent
25baf3b2ac
commit
69e857853f
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ def check(event, auth_events, do_sig_check=True, do_size_check=True):
|
||||||
raise AuthError(
|
raise AuthError(
|
||||||
403, (
|
403, (
|
||||||
"You cannot issue a third party invite for %s." %
|
"You cannot issue a third party invite for %s." %
|
||||||
(event.content.display_name,)
|
(event.content.get("display_name", "<Unknown>"),)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue