This commit is contained in:
Brendan Abolivier 2019-10-02 12:17:46 +01:00
parent 5705ecaec6
commit 972c9f65d7
No known key found for this signature in database
GPG Key ID: 1E015C145F1916CD

View File

@ -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