Skip to content

Commit 055ce67

Browse files
committed
fix jsdoc
1 parent 5480e8e commit 055ce67

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/crypto/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1429,7 +1429,7 @@ Crypto.prototype.handleDeviceListChanges = async function(syncData, syncDeviceLi
14291429
* @param {boolean} resend whether to resend the key request if there is
14301430
* already one
14311431
*
1432-
* @return {Promise} a promise that resolves when the key request is queued
1432+
* @return {Promise} a promise that resolves when the key request is queued
14331433
*/
14341434
Crypto.prototype.requestRoomKey = function(requestBody, recipients, resend=false) {
14351435
return this._outgoingRoomKeyRequestManager.sendRoomKeyRequest(

src/models/event.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,8 @@ utils.extend(module.exports.MatrixEvent.prototype, {
383383
*
384384
* @param {module:crypto} crypto crypto module
385385
* @param {string} userId the user who received this event
386+
*
387+
* @returns {Promise} a promise that resolves when the request is queued
386388
*/
387389
cancelAndResendKeyRequest: function(crypto, userId) {
388390
const wireContent = this.getWireContent();

0 commit comments

Comments
 (0)