From 9e8c7170354c20cbab9df9a5c8cbf80d7968a42b Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 2 Sep 2019 11:30:48 +0200 Subject: [PATCH] Fix onlyoffice lastKnownHash bug --- www/common/outer/onlyoffice.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/common/outer/onlyoffice.js b/www/common/outer/onlyoffice.js index 37359d757..1dc010ba4 100644 --- a/www/common/outer/onlyoffice.js +++ b/www/common/outer/onlyoffice.js @@ -91,9 +91,9 @@ define([ var hk = network.historyKeeper; var cfg = { - validateKey: obj.validateKey, + lastKnownHash: chan.lastKnownHash || chan.lastCpHash, metadata: { - lastKnownHash: chan.lastKnownHash || chan.lastCpHash, + validateKey: obj.validateKey, owners: obj.owners, expire: obj.expire }