Skip to content

Conversation

@BillCarsonFr
Copy link
Member

@BillCarsonFr BillCarsonFr commented Jan 6, 2026

Remove the now deprecated room key transport (keys are using to-device transport now). Also removes the old EncryptionManager (replaced by the RtcEncryptionManager)

Side Effect:
I noticed that there was a problem with statistic object, the to-device transport is itself updating the sent / receive count, but the room transport was expecting the encryption manager to do it before/after calling the transport.
I updated that and made it a responsability of the transport, the EncryptionManger now don't touch the statistic object

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).

expect(client.cancelPendingEvent).toHaveBeenCalledWith(eventSentinel);
});

it("re-sends key if a new member joins even if a key rotation is in progress", async () => {
Copy link
Member

Choose a reason for hiding this comment

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

Were all these test deletions intentional? I'm seeing a lot of test titles that sound like they'd still be relevant to the to-device key transport. Or are they duplicated somewhere?

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