Skip to content
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

RTCSession cleanup: deprecate getKeysForParticipant() and getEncryption(); add emitEncryptionKeys() #4427

Merged
merged 5 commits into from
Sep 27, 2024

Conversation

hughns
Copy link
Member

@hughns hughns commented Sep 23, 2024

This is an "alternative" to #4423 which cleans up the RTCSession API instead.

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

@hughns hughns changed the title RTCSession cleanup: deprecate getKeysForParticipant() and getEncrypti… RTCSession cleanup: deprecate getKeysForParticipant() and getEncryption(); add emitEncryptionKeys() Sep 23, 2024
@hughns hughns added the T-Deprecation A pull request that makes something deprecated label Sep 23, 2024
src/matrixrtc/MatrixRTCSession.ts Outdated Show resolved Hide resolved
src/matrixrtc/MatrixRTCSession.ts Outdated Show resolved Hide resolved
Copy link
Member

@AndrewFerr AndrewFerr left a comment

Choose a reason for hiding this comment

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

LGTM, just have a nitpick on a docstring 🙂

src/matrixrtc/MatrixRTCSession.ts Outdated Show resolved Hide resolved
hughns and others added 2 commits September 27, 2024 15:50
Co-authored-by: Andrew Ferrazzutti <andrewf@element.io>
@hughns hughns added this pull request to the merge queue Sep 27, 2024
Merged via the queue into develop with commit baa6d13 Sep 27, 2024
26 checks passed
@hughns hughns deleted the hughns/matrixrtc-encryption-api-cleanup branch September 27, 2024 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Deprecation A pull request that makes something deprecated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants