Skip to content

Conversation

@aaronraimist
Copy link
Contributor

@aaronraimist aaronraimist commented Apr 25, 2022

Workaround for element-hq/element-web#20166 element-hq/element-web#11820

Signed-off-by: Aaron Raimist [email protected]


This PR currently has no changelog labels, so will not be included in changelogs.

A reviewer can add one of: T-Deprecation, T-Enhancement, T-Defect, T-Task to indicate what type of change this is, or add Type: [enhancement/defect/task] to the description and I'll add them for you.

@codecov-commenter
Copy link

codecov-commenter commented Apr 25, 2022

Codecov Report

Merging #2318 (4128c5a) into develop (1bb8210) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop    #2318   +/-   ##
========================================
  Coverage    59.74%   59.74%           
========================================
  Files           91       91           
  Lines        16450    16450           
  Branches      3797     3797           
========================================
  Hits          9828     9828           
  Misses        6622     6622           
Impacted Files Coverage Δ
src/models/room.ts 57.21% <100.00%> (ø)

@aaronraimist aaronraimist requested a review from turt2live April 25, 2022 14:49
// return an m.room_versions capability.
const KNOWN_SAFE_ROOM_VERSION = '6';
const SAFE_ROOM_VERSIONS = ['1', '2', '3', '4', '5', '6'];
const KNOWN_SAFE_ROOM_VERSION = '9';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In practice, KNOWN_SAFE_ROOM_VERSION should be the same as the common default room version

Hmm @turt2live you sure about this given the spec is still saying default to 6

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just missing spec at the moment: matrix-org/matrix-spec-proposals#3739

Copy link
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@turt2live turt2live merged commit 6137afe into matrix-org:develop May 2, 2022
@aaronraimist aaronraimist deleted the patch-1 branch May 2, 2022 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants