1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00

rename m.secrets.share to m.secrets.send to agree with latest MSC

This commit is contained in:
Hubert Chathi
2019-07-03 15:15:56 -04:00
parent c5caf8f8f4
commit 46a8486245
2 changed files with 2 additions and 2 deletions

View File

@@ -1946,7 +1946,7 @@ Crypto.prototype._onToDeviceEvent = function(event) {
this._onRoomKeyRequestEvent(event);
} else if (event.getType() === "m.secret.request") {
this._secretStorage._onRequestReceived(event);
} else if (event.getType() === "m.secret.share") {
} else if (event.getType() === "m.secret.send") {
this._secretStorage._onSecretReceived(event);
} else if (event.getType() === "m.key.verification.request") {
this._onKeyVerificationRequest(event);