1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-25 05:23:13 +03:00

Don't share full key history for RTC per-participant encryption (#4406)

* Don't share full key history for RTC per-participant encryption

Also record stats for how many keys have been sent/received and age of those received

* Update src/matrixrtc/MatrixRTCSession.ts

Co-authored-by: Robin <robin@robin.town>

* Add comment about why we track total age of events

---------

Co-authored-by: Robin <robin@robin.town>
This commit is contained in:
Hugh Nimmo-Smith
2024-09-18 09:57:26 +01:00
committed by GitHub
parent 30058a4bdc
commit 414ac9d8cc
3 changed files with 187 additions and 30 deletions

View File

@@ -23,6 +23,7 @@ export interface EncryptionKeysEventContent {
keys: EncryptionKeyEntry[];
device_id: string;
call_id: string;
sent_ts?: number;
}
export type CallNotifyType = "ring" | "notify";