1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-09 10:22:46 +03:00

quick clean

This commit is contained in:
Valere
2025-04-10 10:41:48 +02:00
parent 1511643f17
commit 2185d2e2b3

View File

@@ -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.