forked from MirrorHub/synapse
Lint
This commit is contained in:
parent
5705ecaec6
commit
972c9f65d7
1 changed files with 3 additions and 1 deletions
|
@ -2603,7 +2603,9 @@ class FederationHandler(BaseHandler):
|
||||||
# invite has been revoked.
|
# invite has been revoked.
|
||||||
if original_invite.content:
|
if original_invite.content:
|
||||||
display_name = original_invite.content["display_name"]
|
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:
|
else:
|
||||||
# Don't discard or raise an error here because that's not the right place
|
# 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
|
# to do auth checks. The auth check will fail on this invite because we
|
||||||
|
|
Loading…
Reference in a new issue