PCS with owners and password for spreadsheets
This commit is contained in:
@@ -87,6 +87,7 @@ define([
|
||||
validateKey: obj.validateKey,
|
||||
lastKnownHash: chan.lastKnownHash || chan.lastCpHash,
|
||||
owners: obj.owners,
|
||||
expire: obj.expire
|
||||
};
|
||||
var msg = ['GET_HISTORY', wc.id, cfg];
|
||||
// Add the validateKey if we are the channel creator and we have a validateKey
|
||||
|
||||
@@ -107,8 +107,14 @@ define([
|
||||
Feedback.send('ERROR_DELETING_OWNED_PAD=' + channelId + '|' + obj.error, true);
|
||||
}
|
||||
});
|
||||
// Also remove the realtime channel for onlyoffice
|
||||
if (fd.rtChannel) {
|
||||
removeOwnedChannel(fd.rtChannel, function () {});
|
||||
}
|
||||
// XXX fd.lastVersion to delete the encrypted cp?
|
||||
}
|
||||
if (fd.lastVersion) { toClean.push(Hash.hrefToHexChannelId(fd.lastVersion)); }
|
||||
if (fd.rtChannel) { toClean.push(fd.rtChannel); }
|
||||
if (channelId) { toClean.push(channelId); }
|
||||
if (exp.isSharedFolder(id)) {
|
||||
delete files[SHARED_FOLDERS][id];
|
||||
|
||||
Reference in New Issue
Block a user