From 56bffdcfd30fb9f2c8b5ab6baa033775e3809d82 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Tue, 24 Mar 2015 16:22:34 -0700 Subject: [PATCH] Prefix libaxolotl-stored objects with "libaxolotl" --- js/libtextsecure.js | 6 +++--- libtextsecure/axolotl_wrapper.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) 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: {