From 2185d2e2b36542b718162d67c38e41183d4fd577 Mon Sep 17 00:00:00 2001 From: Valere Date: Thu, 10 Apr 2025 10:41:48 +0200 Subject: [PATCH] quick clean --- src/matrixrtc/BasicEncryptionManager.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/matrixrtc/BasicEncryptionManager.ts b/src/matrixrtc/BasicEncryptionManager.ts index 15ce0e883..313255bc1 100644 --- a/src/matrixrtc/BasicEncryptionManager.ts +++ b/src/matrixrtc/BasicEncryptionManager.ts @@ -30,6 +30,8 @@ type DeviceInfo = { deviceId: string; }; +export type ParticipantId = string; + type OutboundEncryptionSession = { key: Uint8Array; creationTS: number; @@ -41,13 +43,11 @@ type OutboundEncryptionSession = { type InboundEncryptionSession = { key: Uint8Array; - participantId: string; + participantId: ParticipantId; keyId: number; creationTS: number; }; -export type ParticipantId = string; - /** * A simple encryption manager. * This manager is basic becasue it will rotate the keys for any membership change.