mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Don't store a copy of owned pads in your own drive
This commit is contained in:
parent
2b4126e220
commit
3e673bfd05
@ -1137,7 +1137,7 @@ define([
|
||||
var ownedByMe = Array.isArray(owners) && owners.indexOf(edPublic) !== -1;
|
||||
|
||||
// Add the pad if it does not exist in our drive
|
||||
if (!contains || (ownedByMe && !inMyDrive)) {
|
||||
if (!contains) { // || (ownedByMe && !inMyDrive)) {
|
||||
var autoStore = Util.find(store.proxy, ['settings', 'general', 'autostore']);
|
||||
if (autoStore !== 1 && !data.forceSave && !data.path && !ownedByMe) {
|
||||
// send event to inner to display the corner popup
|
||||
|
||||
Loading…
Reference in New Issue
Block a user