1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-28 05:03:59 +03:00
This commit is contained in:
David Baker
2018-08-29 18:11:53 +01:00
parent 1b77ee0ef4
commit 8f98504183
2 changed files with 3 additions and 3 deletions

View File

@@ -706,7 +706,7 @@ MatrixClient.prototype.isRoomEncrypted = function(roomId) {
* Forces the current outbound group session to be discarded such
* that another one will be created next time an event is sent.
*
* @param roomId The ID of the room to discard the session for
* @param {string} roomId The ID of the room to discard the session for
*
* This should not normally be necessary.
*/
@@ -714,7 +714,7 @@ MatrixClient.prototype.forceDiscardSession = function(roomId) {
if (!this._crypto) {
throw new Error("End-to-End encryption disabled");
}
return this._crypto.forceDiscardSession(roomId);
this._crypto.forceDiscardSession(roomId);
};
/**

View File

@@ -625,7 +625,7 @@ Crypto.prototype.getEventSenderDeviceInfo = function(event) {
* Forces the current outbound group session to be discarded such
* that another one will be created next time an event is sent.
*
* @param roomId The ID of the room to discard the session for
* @param {string} roomId The ID of the room to discard the session for
*
* This should not normally be necessary.
*/