mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Lint
This commit is contained in:
parent
5705ecaec6
commit
972c9f65d7
@ -2603,7 +2603,9 @@ class FederationHandler(BaseHandler):
|
||||
# invite has been revoked.
|
||||
if original_invite.content:
|
||||
display_name = original_invite.content["display_name"]
|
||||
event_dict["content"]["third_party_invite"]["display_name"] = display_name
|
||||
event_dict["content"]["third_party_invite"][
|
||||
"display_name"
|
||||
] = display_name
|
||||
else:
|
||||
# Don't discard or raise an error here because that's not the right place
|
||||
# to do auth checks. The auth check will fail on this invite because we
|
||||
|
Loading…
Reference in New Issue
Block a user