-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Remove undocumented room_alias
key from /createRoom
response
#14884
Conversation
room_alias
key from /createRoom
response
@thezaidbintariq Could you please sign-off on your contribution? |
changelog.d/10321.removal
Outdated
Removed if room_alias: | ||
result["room_alias"] = room_alias.to_string() | ||
from synapse/synapse/handlers/room.py | ||
Contributed by @thezaidbintariq. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed if room_alias: | |
result["room_alias"] = room_alias.to_string() | |
from synapse/synapse/handlers/room.py | |
Contributed by @thezaidbintariq. | |
Remove undocumented `room_alias` key from `/createRoom` response. Contributed by @thezaidbintariq. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: Zaid Bin Tariq [email protected]
Co-authored-by: Patrick Cloke <[email protected]>
Signed-off-by: Zaid Bin Tariq [email protected] |
@clokep did I sign-off correctly? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@thezaidbintariq Your sign-off is correct 👍
It would be good for someone to shout in the Matrix Client Developers Room about this change before including it in a release of Synapse - just to ensure that no client desperately relies on this (unspecced) field.
@anoadragon453 can you merge the PR? |
This was done at https://matrix.to/#/!XXSJTvRPInupfUgQVb:matrix.org/$xxmBTJfTuP2icgn0X2xfDsygfUR3JbsFYQAMBE1eMPs?via=pixie.town&via=matrix.org&via=element.io |
I bumped the question as nobody had responded yet. |
This is failing due to complement requiring the |
This ports matrix-org/sytest#1216 to complement. See also matrix-org/synapse#14884 (comment)
I have opened matrix-org/complement#616 for this. |
It looks like this makes a backwards-incompatible change to the module API too: synapse/synapse/module_api/__init__.py Line 1586 in 7e8d455
Will need to
|
(I am happy to take this over, to get this across the line) |
This ports matrix-org/sytest#1216 to complement. See also matrix-org/synapse#14884 (comment)
Complement should now pass now that matrix-org/complement#616 has landed |
Hmm. On reflection it looks like there's a bit more internal plumbing to be done here than we'd anticipated. I'm going to have a go at this in #15093. |
This has just merged. Thank you for your efforts looking into this. |
Pull Request Checklist
EventStore
toEventWorkerStore
.".code blocks
.(run the linters)
Fixes #10321