Add a comment

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner
2023-09-04 16:04:49 +02:00
parent 912ed55f1e
commit ae04cfc53e

View File

@@ -42,6 +42,8 @@ export class MatrixKeyProvider extends BaseKeyProvider {
participant, participant,
encryptionKey, encryptionKey,
] of this.rtcSession.encryptionKeys.entries()) { ] of this.rtcSession.encryptionKeys.entries()) {
// The new session could be aware of keys of which the old session wasn't,
// so emit a key changed event.
this.onEncryptionKeyChanged( this.onEncryptionKeyChanged(
encryptionKey, encryptionKey,
participant.userId, participant.userId,