From 71cf3a4ddfeaa59aea51492bc6a6cb140f2d5b6b Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 27 Nov 2017 11:09:28 +0100 Subject: [PATCH] fix creation of personal todo list --- www/todo/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/todo/main.js b/www/todo/main.js index 419a31efe..3f6d1cd5f 100644 --- a/www/todo/main.js +++ b/www/todo/main.js @@ -39,6 +39,8 @@ define([ var getSecrets = function (Cryptpad, Utils) { var proxy = Cryptpad.getProxy(); var hash = proxy.todo || Utils.Hash.createRandomHash(); + if (!proxy.todo) { proxy.todo = hash; } + return Utils.Hash.getSecrets('todo', hash); }; SFCommonO.start({