diff --git a/src/matrixrtc/BasicEncryptionManager.ts b/src/matrixrtc/BasicEncryptionManager.ts
index 15ce0e883d6b6b5eb7e667262739fe1bac4a98b3..313255bc1997e577a32a1e931bbe0867e9dcc801 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.