mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:26:09 -04:00
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:
parent
122c7a43c9
commit
4b31426a02
2 changed files with 13 additions and 2 deletions
|
@ -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),
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue