Store only the strongest hash in the localstorage

This commit is contained in:
yflory
2016-10-03 18:23:59 +02:00
parent 17b4f91810
commit 76fdadee7f
5 changed files with 44 additions and 46 deletions

View File

@@ -476,7 +476,7 @@ define([
return;
}
document.title = title || info.channel.slice(0, 8);
Cryptpad.rememberPad(title, function (err, data) {
Cryptpad.setPadTitle(title, function (err, data) {
if (err) {
console.log("Unable to set pad title");
console.error(err);