Skip to content

Finally drop clear RTC to-device - #5455

Open
BillCarsonFr wants to merge 2 commits into
developfrom
valere/rtc/discard_clear_to_device
Open

Finally drop clear RTC to-device#5455
BillCarsonFr wants to merge 2 commits into
developfrom
valere/rtc/discard_clear_to_device

Conversation

@BillCarsonFr

@BillCarsonFr BillCarsonFr commented Jul 30, 2026

Copy link
Copy Markdown
Member

The rust sdk widget driver is now implementing the encrypted flag matrix-org/matrix-rust-sdk#6795

It is then ok for the RTC to-device key transport to read the flag in order to ignore keys sent in clear.

This feature was already supported by the ElementWeb driver since long, so no need to synchronize release.
But for rust base client the rust-sdk must be merged before Element-Call udpates to this js-sdk change

Checklist

  • Tests written for new code (and old code if feasible).
  • New or updated public/exported symbols have accurate TSDoc documentation.
  • Linter and other CI checks pass.
  • Sign-off given on the changes (see CONTRIBUTING.md).

@BillCarsonFr BillCarsonFr added the T-Task Tasks for the team like planning label Jul 30, 2026
@BillCarsonFr
BillCarsonFr force-pushed the valere/rtc/discard_clear_to_device branch from 174b861 to 50703eb Compare July 30, 2026 14:17
@BillCarsonFr
BillCarsonFr force-pushed the valere/rtc/discard_clear_to_device branch from 50703eb to 8f95e7d Compare July 30, 2026 14:25
@BillCarsonFr
BillCarsonFr marked this pull request as ready for review July 30, 2026 14:49
@BillCarsonFr
BillCarsonFr requested a review from a team as a code owner July 30, 2026 14:49
@BillCarsonFr
BillCarsonFr requested a review from robintown July 30, 2026 14:49
} as unknown as MatrixEvent;
}

export function makeMatrixEvent(

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Any chance this can replace all usages of the above makeMockEvent?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It is breaking existing tests, didn't want this PR to touch other things.

Comment thread spec/unit/matrixrtc/ToDeviceKeyTransport.spec.ts Outdated
Co-authored-by: Robin <robin@robin.town>
@t3chguy

t3chguy commented Aug 13, 2026

Copy link
Copy Markdown
Member

@BillCarsonFr is this going to land?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-Task Tasks for the team like planning

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants