This commit is contained in:
Brendan Abolivier 2019-10-04 11:18:28 +01:00
parent 81d51ce48b
commit 4676732ca0
No known key found for this signature in database
GPG Key ID: 1E015C145F1916CD

View File

@ -2605,9 +2605,7 @@ class FederationHandler(BaseHandler):
# fetch public keys from the m.room.third_party_invite event's content, which # fetch public keys from the m.room.third_party_invite event's content, which
# is empty. # is empty.
display_name = original_invite.content.get("display_name") display_name = original_invite.content.get("display_name")
event_dict["content"]["third_party_invite"][ event_dict["content"]["third_party_invite"]["display_name"] = display_name
"display_name"
] = display_name
else: else:
logger.info( logger.info(
"Could not find invite event for third_party_invite: %r", event_dict "Could not find invite event for third_party_invite: %r", event_dict