You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-01 04:43:29 +03:00
jsdoc
This commit is contained in:
@@ -807,6 +807,13 @@ OlmDevice.prototype.getOutboundGroupSessionKey = function(sessionId) {
|
|||||||
* this session to us (normally empty).
|
* 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) {
|
OlmDevice.prototype._unpickleInboundGroupSession = function(sessionData, func) {
|
||||||
const session = new Olm.InboundGroupSession();
|
const session = new Olm.InboundGroupSession();
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user