From 92a8e107d7cab9d85ff26e67cf60e010dd036688 Mon Sep 17 00:00:00 2001 From: yflory Date: Fri, 15 Dec 2017 15:33:11 +0100 Subject: [PATCH] Use the correct hash when opening the todo app for the first time --- www/todo/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/todo/main.js b/www/todo/main.js index 2898434fd..322e2363b 100644 --- a/www/todo/main.js +++ b/www/todo/main.js @@ -40,7 +40,7 @@ define([ Cryptpad.getTodoHash(function (hash) { var nHash = hash || Utils.Hash.createRandomHash(); if (!hash) { Cryptpad.setTodoHash(nHash); } - cb(null, Utils.Hash.getSecrets('todo', hash)); + cb(null, Utils.Hash.getSecrets('todo', nHash)); }); }; SFCommonO.start({