You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-29 16:43:09 +03:00
jsdoc
This commit is contained in:
@@ -807,6 +807,13 @@ OlmDevice.prototype.getOutboundGroupSessionKey = function(sessionId) {
|
||||
* this session to us (normally empty).
|
||||
*/
|
||||
|
||||
/**
|
||||
* Unpickle a session from a sessionData object and invoke the given function.
|
||||
* The session is valid only until func returns.
|
||||
*
|
||||
* @param {Object} sessionData Object describing the session.
|
||||
* @param {function(Olm.InboundGroupSession)} func Invoked with the unpickled session
|
||||
*/
|
||||
OlmDevice.prototype._unpickleInboundGroupSession = function(sessionData, func) {
|
||||
const session = new Olm.InboundGroupSession();
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user