A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
core: do not trigger autosync on attachment upload
Abdullah Atta46f7ec5e0086
diff --git a/packages/core/src/api/sync/auto-sync.js b/packages/core/src/api/sync/auto-sync.jsindex 29b470870..ccb0fedf1 100644--- a/packages/core/src/api/sync/auto-sync.js+++ b/packages/core/src/api/sync/auto-sync.js@@ -59,7 +59,11 @@ export class AutoSync {* @private*/schedule(id, item) {- if (item && (item.remote || item.localOnly || item.failed)) return;+ if (+ item &&+ (item.remote || item.localOnly || item.failed || !!item.dateUploaded)+ )+ return;clearTimeout(this.timeout);// auto sync interval must not be 0 to avoid issues