You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-08-18 05:42:00 +03:00
Megolm: clarify jsdoc
Clarify somewhat misleading jsdoc text
This commit is contained in:
@@ -171,9 +171,9 @@ MegolmEncryption.prototype._prepareNewSession = function(room) {
|
|||||||
* @param {string} session_id
|
* @param {string} session_id
|
||||||
*
|
*
|
||||||
* @param {Object<string, Object<string, boolean>|boolean>} shareMap
|
* @param {Object<string, Object<string, boolean>|boolean>} shareMap
|
||||||
* Map from userid to true (meaning this is a new user in the room, so all
|
* Map from userid to either: true (meaning this is a new user in the room,
|
||||||
* of his devices need the keys), or a map from deviceid to true (meaning
|
* so all of his devices need the keys); or a map from deviceid to true
|
||||||
* this user has one or more new devices, which need the keys).
|
* (meaning this user has one or more new devices, which need the keys).
|
||||||
*
|
*
|
||||||
* @return {module:client.Promise} Promise which resolves once the key sharing
|
* @return {module:client.Promise} Promise which resolves once the key sharing
|
||||||
* message has been sent.
|
* message has been sent.
|
||||||
|
Reference in New Issue
Block a user