1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-23 22:36:32 +02:00

All: Resolves #10407: Added feature flag to disable sync lock support (#10925)

This commit is contained in:
Laurent Cozic
2024-08-23 12:16:19 +01:00
committed by GitHub
parent c691fedc12
commit b617a84696
3 changed files with 41 additions and 0 deletions

View File

@@ -131,6 +131,7 @@ export default class Synchronizer {
public lockHandler() {
if (this.lockHandler_) return this.lockHandler_;
this.lockHandler_ = new LockHandler(this.api());
this.lockHandler_.enabled = Setting.value('featureFlag.syncLockEnabled');
return this.lockHandler_;
}