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

Namespace default secret storage key methods

This commit is contained in:
J. Ryan Stinnett
2019-11-18 15:17:06 +00:00
parent 730f7d3dff
commit 5f02c4b5ad
3 changed files with 7 additions and 7 deletions

View File

@@ -299,11 +299,11 @@ Crypto.prototype.requestSecret = function(name, devices) {
return this._secretStorage.request(name, devices);
};
Crypto.prototype.getDefaultKeyId = function() {
Crypto.prototype.getDefaultSecretStorageKeyId = function() {
return this._secretStorage.getDefaultKeyId();
};
Crypto.prototype.setDefaultKeyId = function(k) {
Crypto.prototype.setDefaultSecretStorageKeyId = function(k) {
return this._secretStorage.setDefaultKeyId(k);
};