Fix burn after reading with onlyoffice

This commit is contained in:
yflory
2020-01-21 11:01:07 +01:00
parent dbb726e4ce
commit 4a4146f39d
5 changed files with 59 additions and 31 deletions

View File

@@ -64,8 +64,8 @@ define([
var owners, expire;
nThen(function (waitFor) {
if (Utils.rtConfig) {
owners = Utils.rtConfig.owners;
expire = Utils.rtConfig.expire;
owners = Utils.Util.find(Utils.rtConfig, ['metadata', 'owners']);
expire = Utils.Util.find(Utils.rtConfig, ['metadata', 'expire']);
return;
}
Cryptpad.getPadAttribute('owners', waitFor(function (err, res) {