You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-08-10 21:23:02 +03:00
quick clean
This commit is contained in:
@@ -30,6 +30,8 @@ type DeviceInfo = {
|
|||||||
deviceId: string;
|
deviceId: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type ParticipantId = string;
|
||||||
|
|
||||||
type OutboundEncryptionSession = {
|
type OutboundEncryptionSession = {
|
||||||
key: Uint8Array;
|
key: Uint8Array;
|
||||||
creationTS: number;
|
creationTS: number;
|
||||||
@@ -41,13 +43,11 @@ type OutboundEncryptionSession = {
|
|||||||
|
|
||||||
type InboundEncryptionSession = {
|
type InboundEncryptionSession = {
|
||||||
key: Uint8Array;
|
key: Uint8Array;
|
||||||
participantId: string;
|
participantId: ParticipantId;
|
||||||
keyId: number;
|
keyId: number;
|
||||||
creationTS: number;
|
creationTS: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type ParticipantId = string;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A simple encryption manager.
|
* A simple encryption manager.
|
||||||
* This manager is basic becasue it will rotate the keys for any membership change.
|
* This manager is basic becasue it will rotate the keys for any membership change.
|
||||||
|
Reference in New Issue
Block a user