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

@@ -923,7 +923,7 @@ define([
Cryptpad.getPadTitle(function (err, title) {
title = 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 remember pad");
console.log(err);