Remove general get/put/remove methods from AxolotlStore
This commit is contained in:
parent
d0e262d7cb
commit
915612114b
2 changed files with 2 additions and 11 deletions
|
@ -87,15 +87,6 @@
|
|||
|
||||
AxolotlStore.prototype = {
|
||||
constructor: AxolotlStore,
|
||||
get: function(key,defaultValue) {
|
||||
return textsecure.storage.get(key, defaultValue);
|
||||
},
|
||||
put: function(key, value) {
|
||||
textsecure.storage.put(key, value);
|
||||
},
|
||||
remove: function(key) {
|
||||
textsecure.storage.remove(key);
|
||||
},
|
||||
getMyIdentityKey: function() {
|
||||
var res = textsecure.storage.get('identityKey');
|
||||
if (res === undefined)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue