Create a copy when uploading an owned file in a shared folder

pull/1/head
yflory 7 years ago
parent 55715748cc
commit 9a6fa4cbe2

@ -731,6 +731,9 @@ define([
if (channelData && channelData.wc && channel === channelData.wc.id) {
owners = channelData.data.owners || undefined;
}
if (data.owners) {
owners = data.owners;
}
var expire;
if (channelData && channelData.wc && channel === channelData.wc.id) {

@ -92,7 +92,8 @@ define([
href: href,
path: path,
password: password,
channel: id
channel: id,
owners: metadata.owners
};
common.setPadTitle(data, function (err) {
if (err) { return void console.error(err); }

Loading…
Cancel
Save