Pass through user-supplied content in /join/$room_id

It was always intended to allow custom keys on the join event, but this has
at some point been lost. Restore it.

If the user specifies keys like "avatar_url" then they will be clobbered.
This commit is contained in:
Kegan Dougal 2016-08-23 16:32:04 +01:00
parent 122c7a43c9
commit 4b31426a02
2 changed files with 13 additions and 2 deletions

View file

@ -268,6 +268,7 @@ class JoinRoomAliasServlet(ClientV1RestServlet):
action="join",
txn_id=txn_id,
remote_room_hosts=remote_room_hosts,
content=content,
third_party_signed=content.get("third_party_signed", None),
)