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

Add E2EE for embedded mode of Element Call #3667

Merged
merged 123 commits into from Oct 31, 2023
Merged

Conversation

SimonBrandner
Copy link
Contributor

@SimonBrandner SimonBrandner commented Aug 22, 2023

Based on #3663
For element-hq/element-call#1350


Here's what your changelog entry will look like:

✨ Features

  • Add E2EE for embedded mode of Element Call (#3667).

src/randomstring.ts Outdated Show resolved Hide resolved
Comment on lines +101 to +111
private onTimeline = (event: MatrixEvent): void => {
if (event.getType() !== EventType.CallEncryptionKeysPrefix) return;

const room = this.client.getRoom(event.getRoomId());
if (!room) {
logger.error(`Got room state event for unknown room ${event.getRoomId()}!`);
return;
}

this.getRoomSession(room).onCallEncryption(event);
};
Copy link
Member

Choose a reason for hiding this comment

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

Non-blocking, but I'm not convinced that this callback belongs in the session manager class. I think it makes most sense if the session manager is only responsible for creating, ending, and storing sessions, so this feels better suited for the session class itself.

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, I think I would agree: I guess it was sticking to the pattern of all the events going into the manager and being dispatched from there.

src/matrixrtc/MatrixRTCSession.ts Show resolved Hide resolved
src/matrixrtc/MatrixRTCSession.ts Show resolved Hide resolved
@dbkr dbkr added this pull request to the merge queue Oct 31, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 31, 2023
@dbkr dbkr added this pull request to the merge queue Oct 31, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 31, 2023
@dbkr dbkr added this pull request to the merge queue Oct 31, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 31, 2023
@dbkr dbkr added this pull request to the merge queue Oct 31, 2023
Merged via the queue into develop with commit bf81c4b Oct 31, 2023
18 checks passed
@dbkr dbkr deleted the SimonBrandner/feat/e2ee-embeded branch October 31, 2023 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants