Prefix libaxolotl-stored objects with "libaxolotl"

This commit is contained in:
Matt Corallo 2015-03-24 16:22:34 -07:00 committed by lilia
parent 00cb420d37
commit 56bffdcfd3
2 changed files with 6 additions and 6 deletions

View file

@ -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: {

View file

@ -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: {