-
-
Notifications
You must be signed in to change notification settings - Fork 606
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supporting infrastructure for educated decisions on when to upgrade rooms #830
Conversation
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.
otherwise lgtm
@@ -31,7 +31,7 @@ const EventTimelineSet = require("./event-timeline-set"); | |||
|
|||
import ReEmitter from '../ReEmitter'; | |||
|
|||
const LATEST_ROOM_VERSION = '1'; | |||
const KNOWN_SAFE_ROOM_VERSION = '1'; | |||
const SAFE_ROOM_VERSIONS = ['1', '2']; |
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.
A comment on how SAFE_ROOM_VERSIONS and KNOWN_SAFE_ROOM_VERSION feels like it might be useful
The CI builds have been stuck at "Job Received" for nearly 45 minutes now, even after cancelling and restarting. I'm going to assume that adding a comment won't be the end of the world and am merging. |
Original proposals: * #1753 * #1804 Implementation proof: * matrix-org/synapse#4472 * matrix-org/matrix-js-sdk#830 There is one change to MSC1753 which is included in this commit. MSC1804 remains unchanged. In the original proposal, the change password capability being present was an indication that password changes were possible. It was found that this doesn't really communicate the state very well to clients in that lack of a capability (or a 404, etc) would mean that users would erroneously not be able to change their passwords. A simple boolean flag was added to assist clients in detecting this capability.
Part of element-hq/element-web#8251
Endpoint requires matrix-org/synapse#4472
Please review with matrix-org/matrix-react-sdk#2518