You've already forked matrix-js-sdk
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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user