mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04: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(
|
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 New Issue
Block a user