From c5903ffb9da3feeb501acae9ab9a3ddfd5cf9f56 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 3 Sep 2019 18:42:31 +0200 Subject: [PATCH] Add XXX --- www/common/cryptpad-common.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index 9d5a32e23..f8c3f1545 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -820,6 +820,8 @@ define([ } optsPut.owners = owners; }), href); + // XXX get the mailbox fields, decrypt all the mailboxes, reencrypt them, and put them in the metadata + // XXX also use optsPut.metadata (and fix it in cryptget) instead of optsPut.owners common.getPadAttribute('expire', waitFor(function (err, expire) { optsPut.expire = (expire - (+new Date())) / 1000; // Lifetime in seconds }), href);