diff --git a/js/libtextsecure.js b/js/libtextsecure.js index 6e226363..042cdacb 100644 --- a/js/libtextsecure.js +++ b/js/libtextsecure.js @@ -37708,13 +37708,13 @@ window.axolotl.sessions = { return textsecure.storage.get("registrationId"); }, put: function(key, value) { - return textsecure.storage.put(key, value); + return textsecure.storage.put("libaxolotl" + key, value); }, get: function(key, defaultValue) { - return textsecure.storage.get(key, defaultValue); + return textsecure.storage.get("libaxolotl" + key, defaultValue); }, remove: function(key) { - return textsecure.storage.remove(key); + return textsecure.storage.remove("libaxolotl" + key); }, identityKeys: { diff --git a/libtextsecure/axolotl_wrapper.js b/libtextsecure/axolotl_wrapper.js index b7f9d371..90159024 100644 --- a/libtextsecure/axolotl_wrapper.js +++ b/libtextsecure/axolotl_wrapper.js @@ -8,13 +8,13 @@ return textsecure.storage.get("registrationId"); }, put: function(key, value) { - return textsecure.storage.put(key, value); + return textsecure.storage.put("libaxolotl" + key, value); }, get: function(key, defaultValue) { - return textsecure.storage.get(key, defaultValue); + return textsecure.storage.get("libaxolotl" + key, defaultValue); }, remove: function(key) { - return textsecure.storage.remove(key); + return textsecure.storage.remove("libaxolotl" + key); }, identityKeys: {