mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-18 03:14:18 -05: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