Redraw access modal on metadata change

This commit is contained in:
yflory
2020-03-10 12:20:41 +01:00
parent b9a07ca650
commit 315704a1b8
2 changed files with 50 additions and 33 deletions

View File

@@ -1305,11 +1305,6 @@ define([
}).nThen(function () {
// If we are just checking (send === false) and there is a mailbox field, cb state true
// If there is no mailbox, we'll have to check if an owner is a friend in the worker
/* // XXX
if (owner && !send) {
return void cb({state: true});
}
*/
if (!send) { return void cb({state: Boolean(owner)}); }
Cryptpad.padRpc.requestAccess({