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

@@ -1395,6 +1395,10 @@ define([
Title.updateTitle(Title.defaultTitle);
}
if (metadataMgr.getPrivateData().burnAfterReading && content && content.channel) {
sframeChan.event('EV_BURN_PAD', content.channel);
}
openRtChannel(function () {
setMyId();
oldHashes = JSON.parse(JSON.stringify(content.hashes));