Disable autostore for owned pads

This commit is contained in:
yflory 2021-03-03 16:54:25 +01:00
parent 629eb48562
commit a69fb1fae9
1 changed files with 1 additions and 1 deletions

View File

@ -1157,7 +1157,7 @@ define([
// Add the pad if it does not exist in our drive
if (!contains) { // || (ownedByMe && !inMyDrive)) {
var autoStore = Util.find(store.proxy, ['settings', 'general', 'autostore']);
if (autoStore !== 1 && !data.forceSave && !data.path && !ownedByMe) {
if (autoStore !== 1 && !data.forceSave && !data.path) {// && !ownedByMe) {
// send event to inner to display the corner popup
postMessage(clientId, "AUTOSTORE_DISPLAY_POPUP", {
autoStore: autoStore