Files
matrix-quotes-bot/node_modules/matrix-js-sdk/lib/matrixrtc/EncryptionManager.js

13 lines
434 B
JavaScript
Raw Normal View History

2026-09-12 23:57:45 -04:00
/**
* The string used for the keys in the the encryption key map.
* `@bob:examle.org:DEVICEID(UUIDRANDOM_MEMBERID_RANDOMUUID)`
*/
export function getEncryptionKeyMapKey(membership) {
return `${membership.userId}:${membership.deviceId}(${membership.memberId})`;
}
/**
* This interface is for testing and for making it possible to interchange the encryption manager.
* @internal
*/
//# sourceMappingURL=EncryptionManager.js.map